- i. Bit Tricks and XOR: Bitwise operations act on every bit independently, with no carries.
- ii. Gray Code: An ordering of all bit strings where consecutive strings differ in exactly one bit.
- iii. Submasks, Supermasks and SOS DP: Iterating over subsets of subsets costs .
- iv. Bitwise Convolutions: XOR, AND and OR convolutions on arrays of size all follow the same recipe as FFT:
- v. XOR Basis: Integers are vectors over and XOR is vector addition.
- vi. Bitset: Pack 64 booleans into a machine word and operate on all of them at once.
- vii. Bitset and Word-Level Parallelism: A machine word holds booleans, and one instruction processes all of them.