Facebook Pixel

Quant Developer Practice Problems

48 hands-on C++, systems, and HFT coding problems you can write, compile, and test in the browser. Looking for the concepts and walkthroughs? Start the Quant Developer Interview Prep course.

Completed 0/48

Compute C++ struct offsets, padding, and alignment.

Compare 64-byte cache line hits for AoS vs SoA.

Build a fast bytecode interpreter for stack ops.

Implement type-erased callable with SBO storage.

Build a move-only UniquePtr with custom deleters.

Implement deep copy, move, and swap for a buffer.

Detect stale handles using generation counters.

Implement stack-allocated Optional with placement new.

Build reference-counted SharedPtr and WeakPtr.

Implement a bucketed hash map with dynamic rehashing.

Build a linear-probing hash table with tombstones.

Combine O(1) LRU eviction with per-key TTL expiry.

Maintain top-of-book depth in a tick-indexed array.

Model amortized capacity growth and reallocations.

Implement an O(1) fixed-block free-list allocator.

Simulate bounded SPSC ring buffer overflow policies.

Trace producer-consumer blocking and wakeups.

Find lock-order cycles across acquisition graphs.

Enumerate valid sequentially consistent outcomes.

Detect unsynchronized memory accesses with vector clocks.