~/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.
Advanced & competitive
Advanced DP
Bitmask and digit DP.
11 problems
Advanced & competitive
Advanced DP Bitmask and digit DP.
Bitmask DP
- Basics: cheapest one-to-one job assignment basics py · c++ · java easy
- Pairing up lab partners py · c++ · java easy
- Shortest walk visiting every node py · c++ · java hard
- Fewest work sessions py · c++ · java medium
- Count Hamiltonian routes py · c++ · java medium
- Cheapest way to order everything you want AirbnbConfluent medium
- Every cheapest way to order a meal Airbnb hard
Digit DP
- Basics: Count numbers with a given digit sum basics py · c++ · java easy
- Raffle tickets short on ink py · c++ · java easy
- Count the digit 1 py · c++ · java medium
- Numbers with no equal neighbouring digits py · c++ · java medium