Interview questions
Combinatorics quant interview questions
60 interview-style combinatorics problems, ordered from easy to hard.
Combinatorics interview questions test whether you can count carefully and spot structure before brute force. In quant trading and research interviews you will meet arrangements with restrictions, committees and seating problems, stars and bars, inclusion–exclusion, derangements, lattice paths and pigeonhole arguments. Good answers come from choosing a clean bijection or complementary count, then sanity-checking with a small case. Many probability questions reduce to a counting problem, so fluency here pays off across the whole interview. This collection moves from standard counting identities to harder problems that combine several techniques, with hints and worked solutions on every free problem. Use the list to drill a specific subtopic, or practise interactively to track your accuracy and see which counting methods still slow you down.
Practice Combinatorics interactivelyEasy (22)
- Balanced Committee · Committees
- No Correct Letter · Permutations
- Boxes With Minimums · Stars and Bars
- Four Boxes, Min Three · Stars and Bars
- Non-Adjacent Books · Arrangements
- MISSISSIPPI Arrangements · Repeated Objects
- Committee With Alice or Bob · Committees
- Round Table Seating · Circular Permutations
- Bounded Integer Solutions · Integer Solutions
- Relative Order · Random Permutations
- Equal Team Allocation · Multinomial Counting
- Committees of Three · Combinations
- Arranging Seven Books · Permutations
- Circular Table for Six · Circular Permutations
- Seven in a Line, Adjacent · Permutations
- Arrangements of BANANA · Multiset Permutations
- Balls Into Boxes, Empty Allowed · Stars and Bars
- Balls Into Boxes, None Empty · Stars and Bars
- Five-Digit Codes, No Repeats · Permutations
- Lattice Paths to (5,3) · Lattice Paths
- Choosing Three of Ten · Combinations
- Books on a Shelf · Permutations
Medium (26)
- Restricted Team Formation · Team Formation
- Non-Adjacent Ones · Binary Strings
- Two-Ace Hands · Cards
- Even Face Distribution · Multinomial
- Unlabeled Team Split · Team Formation
- Alternating Seating · Circular Arrangements
- Lattice Path Count · Lattice Paths
- Straight But Not Flush · Poker
- Non-Consecutive Selection · Combinations
- Seven in a Line, Not Adjacent · Permutations
- Bounded Integer Solutions · Stars and Bars
- Mixed Lower Bounds · Stars and Bars
- Non-Consecutive Selection · Combinatorial Bijections
- Binary Strings, Three Isolated Ones · Combinatorial Bijections
- Five-Digit Integers, No Repeats · Permutations
- Committee With At Least One of Two · Combinations
- Committee With Exactly One of Two · Combinations
- Teams of Three Sizes · Multinomial Coefficients
- Derangements of Five Objects · Derangements
- Alternating Circular Seating · Circular Permutations
- Each Face Exactly Three Times · Multinomial Coefficients
- Binary Strings With Two Ones · Combinations
- Stars and Bars for Seven · Stars and Bars
- Arrangements of LEVEL · Multinomial
- Four-Digit PINs · Product Rule
- Four-Card Hands · Combinations
Hard (12)
- Adjacent Aces · Cards
- No Empty Box · Occupancy
- Even Grid Sums · Parity
- No Couples Adjacent · Inclusion-Exclusion
- Even Coordinate in Stars and Bars · Integer Solutions
- Pairing Ten People · Perfect Matchings
- No Room Left Empty · Inclusion-Exclusion
- Lattice Paths Below the Diagonal · Lattice Paths
- Six People, Four Rooms, None Empty · Inclusion-Exclusion
- Round Table, Two Together · Circular Arrangements
- Onto Functions to Two Values · Functions
- Bounded Stars and Bars · Stars and Bars