Difficulty: Medium
Category: architecture & logic
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: systems, performance, c++
High-frequency trading systems require precise latency monitoring on the critical path without incurring garbage collection overhead or dynamic memory allocation costs. A fixed-width histogram enables efficient, zero-allocation data recording to track performance distributions and calculate percentiles during intense market activity. Task Implement a LatencyHistogram class to record latency measurements into pre-allocated buckets and calculate percentiles. The class must support initialization
Practice this medium 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.