3 subtopics · 13 problems
Bit Manipulation
XOR tricks, bitmask enumeration, bitwise operations, and subset iteration.
01XOR Properties & Tricks
XOR is its own inverse — find missing elements, pair cancellation.
3 easy1 medium1 hard
| Problem | Difficulty | Link |
|---|---|---|
| 1850ATo My Critics | easy | Solve |
| 1527AAnd Then There Were K | easy | Solve |
| 1791DSum of Factorials | easy | Solve |
| 1554BCobb | medium | Solve |
| 1837DBracket Coloring | hard | Solve |
02Bitmask Enumeration
Enumerate all subsets of a set using bitmasks.
1 easy2 medium1 hard
| Problem | Difficulty | Link |
|---|---|---|
| 1873BGood Kid | easy | Solve |
| 1900BLaura and Operations | medium | Solve |
| 1516BAGAGA XOOORRR | medium | Solve |
| 1900DSmall GCD | hard | Solve |
03Bitwise Tricks & Operations
Count set bits, isolate lowest bit, power-of-two checks.
2 easy1 medium1 hard
| Problem | Difficulty | Link |
|---|---|---|
| 282ABit++ | easy | Solve |
| 1579ACasimir's String Solitaire | easy | Solve |
| 1525APotion-making | medium | Solve |
| 1579E2Array Optimization by Deque (hard) | hard | Solve |
Was this helpful?