Top 50 cpp Interview Questions
The most frequently asked cpp questions across all roles and companies, ranked by real interview frequency. Updated daily.
Refactor pairwise correlation computation by precomputing centered returns and exploiting matrix symmetry.
Balyasny Asset ManagementBBack MarketImplement an LFU cache with O(1) average get and put operations, using frequency groups and LRU tie-breaking.
AppleNormalize a candidate's C++ feature list, remove duplicates, and group features by the standard that introduced them.
Siemens Digital Industries SoftwareIdentify lock leaks, unsafe lock ordering, exception risks, and data races in Citadel's OrderBook implementation.
CitadelValidate bounds, const-correctness, and overlapping typed accesses under simplified C++ aliasing rules.
NVIDIATrace C++ polymorphism, object slicing, destruction, and multiple inheritance issues in a sensor hierarchy.
ZooxIdentify iterator, bounds, empty-input, and memory bugs, then safely prune out-of-range Waymo obstacle readings.
WaymoTrace indirection and mutation to predict a C++ pointer-to-pointer program's output.
Siemens Digital Industries SoftwareSign up to see every question
Create a free account to unlock this list and practice real interview questions.