Opening page…
Use XOR, masks and shifts to solve problems in constant space without extra data structures.
Solved
| Solved | # | Problem | Pattern | Level | Preview |
|---|---|---|---|---|---|
| 1 | Single Number | XOR | Easy | ||
| 2 | Number of 1 Bits | bit counting | Easy | ||
| 3 | Counting Bits | bit counting · DP | Easy | ||
| 4 | Sum of Two Integers | XOR · arithmetic | Medium | ||
| 5 | Single Number II | bit counting · XOR | Medium | ||
| 6 | Bitwise AND of Numbers Range | bit prefix | Medium |
Showing 1–6 of 6 problems