All topics
Coding & systems
Concurrency
Lock-free queues, atomics, memory ordering
Overview
About concurrency questions in quant interviews
Threads, atomics, memory ordering, and the lock-free data structures trading-system interviews keep returning to — the canonical quant-dev differentiator.
How to study this topic
A path that works
- 1
Start with the easy set
Warm up with the 8 easy concurrency questions. Quick wins build pattern recognition before complexity ramps.
- 2
Drill the medium tier next
16 medium questions sit in the sweet spot where most interview questions cluster. Time yourself, then redo any you missed two days later.
- 3
Stress-test on hard problems
15 hard questions simulate the on-site round. Skip looking at solutions for at least 20 minutes, then write up your approach.
The library
All 39 concurrency questions
easyCooperative Thread Cancellation with jthreadeasyCooperative Queue CancellationeasyCondition Variable Event QueueeasyLow-Latency Order SignaleasyAtomic Price PublishereasyAtomic Flag Spin-WaiteasyScoped Lock Portfolio UpdateeasyThread Local Volume AccumulatormediumCounting Semaphore ThrottlemediumOnce-Flag Singleton InitmediumBounded Producer-Consumer QueuemediumDeadlock-Free Account TransfermediumAtomic Shared Pointer ConfigmediumBarrier Phase SynchronizationmediumShared Mutex for Read-Heavy DatamediumLatch-Based Service StartupmediumTry-Lock Spinlock with TimeoutmediumTest-and-Test-and-Set SpinlockmediumFixed Thread Pool ExecutormediumFuture/Promise Async PricingmediumThread Affinity and Core IsolationmediumAtomic Fetch-Add StatisticsmediumAdaptive Spinlock Backoff StrategymediumFalse Sharing BenchmarkhardEpoch-Based Memory ReclamationhardDisruptor Pattern: SPSC Ring BufferhardLock-Free Stack ImplementationhardRelaxed Atomic Stats CounterhardSeqlock: Optimistic Concurrency ControlhardHazard Pointer ReclamationhardLock-Free MPSC QueuehardRCU Configuration ManagerhardDouble-Buffer Atomic SwaphardWork-Stealing DequehardABA Problem: Lock-Free StackhardSPSC Lock-Free Ring Buffervery hardWait-Free SPSC Queuevery hardLeft-Right Concurrency Patternvery hardFlat Combining Order Book
View all 39 concurrency questionsRelated topics