Skip to content
Math & bits line

Bit Manipulation problems

Problems solved on the binary digits of a number. A few operators, AND, OR, XOR and shifts, count, flip and combine bits without extra space.

The 7 problems

In the order the app teaches them. Each page has the problem, five hints and the explained solution.

On the roadmap

Bit Manipulation is a station on the math & bits line. It builds on Math & Geometry. No line goes on from here.

The roadmap says why each line runs in its order.

Patterns

3 patterns solve these problems. Naming them gives the problems’ methods away, so the list is folded.

Show the 3

Keep going