500+ quant interview questions for Jane Street, Citadel, Two Sigma, DE Shaw, and other top quantitative finance firms.
Statistical analysis and quantitative modeling problems
Trading MCQs, probability brainteasers, and market scenarios
Practice quant interview questions on MyntBit - the all-in-one quant learning platform. Free questions available for C++ coding, Python problems, probability brainteasers, and trading MCQs.
Difficulty: Easy
Category: low_latency
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: prefetch, __builtin_prefetch, cache, low_latency, memory-access, simd
In low-latency trading, sequentially scanning large price arrays is a common bottleneck. Software prefetching allows developers to explicitly hint to the CPU to load data into the cache before it is needed, hiding memory latency. This technique is crucial for optimizing hot-path computations in market data handlers and signal processing engines. Task Implement the function compute_sum(const double prices, int n) to calculate the sum of all elements in a price array. On each iteration i, issue a
Practice this easy developer interview question on Myntbit - the all-in-one quant learning platform with 1000+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.