Programming & DSA Questions for Market Maker Interviews
A market maker round does not test programming & dsa the way a textbook does. This set is the overlap - the programming & dsa questions that actually turn up in this format.
19 questions, 12 of them free to practise right now. The split is 6 easy, 10 medium, 3 hard.
- Counting complement pairsEasyProgramming & DSAView →
- Depth of a key in a BSTEasyProgramming & DSAView →
- Guessing a number with high-low hintsEasyBrainteasersProgramming & DSAView →
- Maximum subarray sumEasyProgramming & DSAView →
- Peak depth times group count of a bracket scanEasyProgramming & DSAView →
- The two missing numbersEasyProgramming & DSAView →
- Balanced parenthesesMediumCombinatoricsProgramming & DSAView →
- Multiplications in fast exponentiationMediumProgramming & DSAView →
- Rebuilding a tower of ten ringsMediumBrainteasersProgramming & DSAView →
- Sampling an exponential from a uniformMediumRandom VariablesProgramming & DSAView →
- Simulate probability pMediumProbabilityProgramming & DSAView →
- When the naive shuffle is biasedMediumProgramming & DSAView →
- Call count of memoized FibonacciMediumProgramming & DSA Premium
- Climbing stairsMediumCombinatoricsProgramming & DSA Premium
- Count set bitsMediumProgramming & DSA Premium
- When to prefer memoization over tabulationMediumProgramming & DSA Premium
- Expected comparisons, from first principlesHardProgramming & DSA Premium
- Reservoir samplingHardStatisticsProgramming & DSA Premium
- Two Newton iterations for a square rootHardCalculusProgramming & DSA Premium
Widen the search
This set is a slice of two larger ones. If it is too narrow, start here instead:
Practise these free
Create a free account to check your answers, track what you have solved, and run the timed simulators. Premium unlocks a full worked solution for every question.