~/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
Counting
Combinatorics, inclusion-exclusion, Catalan numbers.
8 problems
Advanced & competitive
Counting Combinatorics, inclusion-exclusion, Catalan numbers.
Combinatorics / inclusion-exclusion
- Binomial coefficients with Pascal's triangle basics py · c++ · java easy
- Tasting panel with every group py · c++ · java easy
- Distribute identical apples py · c++ · java easy
- Count distinct rearrangements of a string py · c++ · java easy
Catalan numbers
- Non-crossing handshakes around a table basics py · c++ · java easy
- Arm-wrestling along a bench py · c++ · java medium
- Unique Binary Search Trees py · c++ · java medium
- Counting buy/sell sequences assessment 3 levels Optiver py · c++ · java medium