Interview questions

Coding quant interview questions

27 interview-style coding problems, ordered from easy to hard.

Coding questions in quant interviews focus on clean, efficient solutions to problems with a mathematical flavour: simulations, dynamic programming, combinatorial search, numerical methods and data manipulation. Quant developer and research candidates are expected to reason about time and space complexity and to verify results against an analytical answer where one exists. This topic collects interview-style coding and algorithm problems written as original QuantSolve content, from warm-ups to harder optimisation problems. Free problems include hints and worked solutions describing the algorithm and why it is correct. Use them alongside the probability and expected value sections, since many coding rounds ask you to simulate or compute a quantity you could also derive by hand, then compare the two answers.

Practice Coding interactively

Easy (15)

Medium (9)

Hard (3)

Other topics