~/problems
Problems
Basics first, then the classics, then company-style assessments. Every problem has tests you run right here; multi-level ones unlock as you go. See the roadmap.
Interview roadmap
Backtracking
Recursion that tries, undoes and tries again.
19 problems
Interview roadmap
Backtracking Recursion that tries, undoes and tries again.
- Basics: choose k of n (choose, explore, un-choose) basics py · c++ · java easy
- Seating plan without feuding neighbours py · c++ · java easy
- Subsets py · c++ · java easy
- Permutations py · c++ · java easy
- Combination Sum py · c++ · java medium
- N-Queens py · c++ · java medium
- Split apples into two fair groups py · c++ · java easy
- Pandigital Sum Citadel medium
- Currency Exchange CoinbaseOptiver medium
- Undo a run-length "say" encoding Pinterest py · c++ · java medium
- Combination Sum II py · c++ · java medium
- Subsets II py · c++ · java medium
- Word Search py · c++ · java medium
- Palindrome Partitioning py · c++ · java medium
- Letter Combinations of a Phone Number py · c++ · java medium
- Permutations II py · c++ · java medium
- Combinations py · c++ · java medium
- Word Break II py · c++ · java hard
- Partition to K Equal Sum Subsets py · c++ · java medium