Bitmask DP Problems
47 Bitmask DP problems on LeetCode, a Advanced DP interview pattern, ranked by importance (how often it comes up in real interviews). Difficulty (ELO) and importance shown per problem.
| # | PROBLEM | DIFF | ELO | IMP | PATTERNS |
|---|---|---|---|---|---|
| 1 | Minimum XOR Sum of Two Arrays | Hard | 2145 | 72 | General Bit Manipulation |
| 2 | Special Permutations | Hard | 2021 | 62 | |
| 3 | Smallest Sufficient Team | Hard | 2251 | 62 | General Bit Manipulation |
| 4 | Maximum Profit from Valid Topological Order in DAG | Hard | 2353 | 62 | Topological Sort · General Greedy (Greedy is main insight) |
| 5 | Beautiful Arrangement | Medium | 1576 | 58 | Permutations · General Bit Manipulation |
MORE ADVANCED DP PATTERNS
// your mastery





What's your Bitmask DP tier?
leaps.gg syncs your LeetCode history, scores your Bitmask DP mastery, and recommends exactly which problems to do next with spaced repetition. Free to start.
GET MY MASTERY MAP →