Codele / Algorithms

Bit tricks

A number is a row of switches. Bit tricks work on those switches directly, which is very fast and lets you do clever things in one step.

Loading the playable lesson…