All topics
Algorithms & Numerical Interview Questions
Algorithms and numerical methods — from LeetCode-style coding to Monte Carlo simulation and Newton’s method — test the programming and computational skills quant desks rely on. All 26 algorithms & numerical questions below come with a full worked solution — sign in to check your answers and track your progress.
64Easy65Medium66Hard67Medium68Hard69Medium70Medium71Medium72Medium73Easy74Easy75Medium76Medium77Hard78Medium79Medium80Medium81Medium82Medium83Easy84Medium85Medium86Medium87Hard88Medium89Medium
Two SumLeetCode
GoogleDE Shaw
Product of Array Except SelfLeetCode
Two SigmaHRT
Trapping Rain WaterLeetCode
Jane StreetCitadel Securities
Kth Largest ElementLeetCode
Two SigmaDE Shaw
Sliding Window MaximumLeetCode
HRTJump Trading
Maximum Subarray (Kadane)LeetCode
Two SigmaDE Shaw
Random Pick with WeightLeetCode
CitadelTwo Sigma
Shuffle an Array (Fisher-Yates)LeetCode
Two SigmaDE Shaw
Best Time to Buy and Sell StockLeetCode
Two SigmaDE Shaw
Monte Carlo — Estimate π
Goldman SachsTwo Sigma
Newton’s Method for √2
Goldman SachsJane Street
Rand10() from Rand7()LeetCode
Jane StreetOptiver
Coin Change (DP)LeetCode
GoogleDE Shaw
Median of Two Sorted ArraysLeetCode
GoogleTwo Sigma
Online Stock SpanLeetCode
Citadel SecuritiesHRT
Time-Based Key-Value StoreLeetCode
Two SigmaJump Trading
Best Time to Buy and Sell Stock IILeetCode
OptiverJane Street
Gas StationLeetCode
Jane StreetCitadel
Jump GameLeetCode
GoogleDE Shaw
Nim GameLeetCode
Jane StreetSIG / Susquehanna
Predict the WinnerLeetCode
Jane StreetOptiver
LRU CacheLeetCode
Two SigmaHRT
Longest Increasing SubsequenceLeetCode
Two SigmaDE Shaw
Find Median from Data StreamLeetCode
Two SigmaCitadel
Course ScheduleLeetCode
GoogleDE Shaw
Number of IslandsLeetCode
GoogleTwo Sigma
Browse more topics, by firm, or see all problems.