cpp Interview Questions
5 interview questions in our bank cover cpp, most of them Coding & Leetcode-style Questions. They average 3.2/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about cpp: Hudson River Trading, JPMorgan, Radix Trading, Shopify.
Practice these on the problems board →Companies that ask about cpp
Question mix
- Coding & Leetcode-style Questions5
Difficulty
- 3/5 — medium4
- 4/5 — hard1
Questions tagged cpp
Buffer Readers for char/int/string with Pointer Advancement
3/5This Hudson River Trading interview question asks you to design a set of buffer reading utilities for primitive data types using raw memory pointers. You must implement mechanisms to extract characters, integers, and strings sequentially from a contiguous memory block while correctly advancing the read cursor and avoiding redundant data duplication. The task tests your understanding of low-level memory management, type casting, and pointer arithmetic. Unlock the full challenge details and a verified implementation by getting a subscription.
Coding & Leetcode-style QuestionsHudson River TradingC++ Virtual / Destructor / Pointer Review
3/5Test your mastery of advanced C++ language semantics through a code-evaluation exercise frequently reported in JPMorgan quantitative finance interviews. This assessment probes your understanding of object lifecycles, dynamic method dispatch, memory ownership, and the crucial distinctions between references and pointers. You will need to spot subtle pitfalls like dangling references and predict exact execution outcomes. Unlocking the complete problem explanation and verified model solution requires a subscription.
Coding & Leetcode-style QuestionsJPMorganC++ Template Wrapper over std::map and std::unordered_map
4/5This advanced coding challenge, reported from interviews at Hudson River Trading, requires building a versatile C++ template wrapper that provides a unified interface over both ordered and unordered associative containers. Candidates must demonstrate deep knowledge of C++ templates, type constraints, and efficient command parsing while handling various edge cases gracefully. Unlock the complete problem statement, optimal design patterns, and a production-ready model solution by upgrading your account.
Coding & Leetcode-style QuestionsHudson River TradingObject-oriented Design for a Genetic Class in C++
3/5Build a robust object-oriented class in C++ to model biological sequences and genetic operations, mirroring software design interviews at Radix Trading. This exercise assesses your proficiency with encapsulation, string manipulation, and lifecycle management in modern C++. Unlock the complete design requirements and reference code implementation by subscribing.
Coding & Leetcode-style QuestionsRadix TradingSWE / SDE Intern Coding OA (DP + C++/Ruby)
3/5Prepare for a multi-part technical coding assessment recently featured in Shopify intern hiring processes, spanning dynamic programming and language-specific utilities in C++ and Ruby. The timed evaluation tests adaptability across distinct paradigms, combining algorithmic optimization with concise string manipulation and collection filtering tasks. Success requires efficient time management and fluency in multiple programming environments. Access to the full exam breakdown and model solutions requires a subscription.
Coding & Leetcode-style QuestionsShopify
cpp interview FAQ
- How many cpp interview questions are there?
- 5 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask cpp questions?
- Hudson River Trading (2), JPMorgan (1), Radix Trading (1), Shopify (1).
- How hard are cpp questions?
- They average 3.2 out of 5: 4 at 3/5, 1 at 4/5.