leaps.ggTRACK YOUR MASTERY →
PROBLEMS/MATH & GEOMETRY/COMBINATORICS

Combinatorics Problems

42 Combinatorics problems on LeetCode, a Math & Geometry interview pattern, ranked by importance (how often it comes up in real interviews). Difficulty (ELO) and importance shown per problem.

#PROBLEMDIFFELOIMPPATTERNS
1Vowels of All SubstringsMedium166355
Prefix Sums
2Count All Valid Pickup and Delivery OptionsMedium172353
Linear Recurrence DP · Modular Arithmetic
3Ways to Split Array Into Good SubarraysMedium159848
Frequency Counting / Hash Map Lookup · Modular Arithmetic
4Number of Ways to Reorder Array to Get Same BSTHard228848
BST Operations (Insert, Delete, Validate) · Linear Recurrence DP
5Count the Number of Arrays with K Matching Adjacent ElementsHard231048
Modular Arithmetic
+ 37 more Combinatorics problems, see all in the explorer →
MORE MATH & GEOMETRY PATTERNS
General MathModular ArithmeticGCD / LCMPrimes / Sieve of EratosthenesCombinatorics
// your mastery
Bronze tier crystalSilver tier crystalGold tier crystalPlatinum tier crystalDiamond tier crystal
What's your Combinatorics tier?

leaps.gg syncs your LeetCode history, scores your Combinatorics mastery, and recommends exactly which problems to do next with spaced repetition. Free to start.

GET MY MASTERY MAP →