C++ Interview Questions
5 interview questions in our bank cover C++, most of them Coding 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 C++: Hudson River Trading, JPMorgan, Shopify, Radix Trading.
Practice these on the problems board →Companies that ask about C++
Question mix
- Coding Questions5
Difficulty
- 3/5 — medium4
- 4/5 — hard1
C++ questions at Hudson River Trading
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 QuestionsHudson River TradingC++ 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 QuestionsHudson River Trading
More C++ questions
C++ 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 QuestionsJPMorganMinimum Cost to Color a Row of Houses
3/5A coding question about assigning one of three options to each item in a line at minimum total price, where items that sit next to each other must receive different options.
Coding QuestionsShopifyObject-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 QuestionsRadix Trading
C++ interview FAQ
- How many C++ interview questions are there?
- 5 reported questions, mostly Coding Questions.
- Which companies ask C++ questions?
- Hudson River Trading (2), JPMorgan (1), Shopify (1), Radix Trading (1).
- How hard are C++ questions?
- They average 3.2 out of 5: 4 at 3/5, 1 at 4/5.