Low-Latency Order Signal - Quant Developer Interview Question
Difficulty: Easy
Category: concurrency
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: concurrency, semaphore, c++17, multithreading
Problem Description
The Order Matching Engine (OME) and Risk Management system are often separated in low-latency trading systems into distinct threads to maximize throughput while maintaining data integrity. Efficient signaling mechanisms, such as binary semaphores, are essential to coordinate these components in a lockstep fashion without inducing race conditions or deadlocks.
Task
Implement a BinarySemaphore class using std::mutex and std::condition_variable to facilitate strict synchronization between a produc
Practice this easy developer interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.