Bitmask Problems
47 Bitmask LeetCode problems · Solve with AI-powered hints & step-by-step explanations.
Learn the coding interview patterns behind these problems.
Start with these
All Bitmask problems
464 Can I Win Medium473 Matchsticks to Square Medium526 Beautiful Arrangement Medium638 Shopping Offers Medium691 Stickers to Spell Word Hard698 Partition to K Equal Sum Subsets Medium805 Split Array With Same Average Hard847 Shortest Path Visiting All Nodes Hard943 Find the Shortest Superstring Hard996 Number of Squareful Arrays Hard1125 Smallest Sufficient Team Hard1255 Maximum Score Words Formed by Letters Hard1349 Maximum Students Taking Exam Hard1434 Number of Ways to Wear Different Hats to Each Other Hard1494 Parallel Courses II Hard1595 Minimum Cost to Connect Two Groups of Points Hard1617 Count Subtrees With Max Distance Between Cities Hard1655 Distribute Repeating Integers Hard1659 Maximize Grid Happiness Hard1681 Minimum Incompatibility Hard1723 Find Minimum Time to Finish All Jobs Hard1755 Closest Subsequence Sum Hard1799 Maximize Score After N Operations Hard1815 Maximum Number of Groups Getting Fresh Donuts Hard1879 Minimum XOR Sum of Two Arrays Hard1947 Maximum Compatibility Score Sum Medium1986 Minimum Number of Work Sessions to Finish the Tasks Medium1994 The Number of Good Subsets Hard2002 Maximum Product of the Length of Two Palindromic Subsequences Medium2035 Partition Array Into Two Arrays to Minimize Sum Difference Hard2172 Maximum AND Sum of Array Hard2305 Fair Distribution of Cookies Medium2572 Count the Number of Square-Free Subsets Medium2741 Special Permutations Medium2791 Count Paths That Can Form a Palindrome in a Tree Hard3003 Maximize the Number of Partitions After Operations Hard3149 Find the Minimum Cost Array Permutation Hard3276 Select Cells in Grid With Maximum Score Hard3283 Maximum Number of Moves to Kill All Pawns Hard3376 Minimum Time to Break Locks I Medium3444 Minimum Increments for Target Multiples in an Array Hard3530 Maximum Profit from Valid Topological Order in DAG Hard3533 Concatenated Divisibility Hard3539 Find Sum of Array Product of Magical Sequences Hard3575 Maximum Good Subtree Score Hard3594 Minimum Time to Transport All Individuals Hard3615 Longest Palindromic Path in Graph Hard