Study guides / QNT: Quant Interviews / Brainteasers & logic
Brainteasers & logic
QNT: Quant Interviews · quick review
Puzzles that test structured thinking under pressure. Talk through your reasoning; the method matters as much as the answer.
The rules
- Start small: solve the 2- or 3-item version, then look for the pattern.
- Find the invariant or the key constraint, such as which lockers get toggled an odd number of times.
- Balance-scale puzzles: each weighing has three outcomes, so n weighings separate up to 3ⁿ cases.
- Trailing zeros in n! count the factors of 5: ⌊n/5⌋ + ⌊n/25⌋ + ….
- Check the intuitive answer: many puzzles, like the bat and ball, are built to catch the first guess.
- Work backward in sequential games (the pirate game): solve the one- and two-player cases first.
- Pigeonhole: n + 1 items in n boxes forces a repeat, so 3 socks guarantee a pair from 2 colors.
- Use a second signal when one isn't enough: the three-switch puzzle uses the bulb's heat as well as its light.
- Halve the search: binary search finds 1 of 1,000 in 10 guesses, since 2¹⁰ = 1,024.
Formulas
- Trailing zeros in n!: ⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + …
- Balance-scale capacity: 3ⁿ cases in n weighings
- Pairs among n people: n(n − 1) ÷ 2
- Binary search guesses: ⌈log₂ n⌉
Common traps
- Blurting the first intuitive answer without checking it.
- Going silent; interviewers want to hear the reasoning.
- Missing a constraint hidden in the wording.
How it's tested
Common in trading and research interviews as a test of reasoning under pressure.
Practise it
The full lesson, worked examples and practice questions are in Tickmark, where every answer choice is explained.
Open the full lesson