All Categories

Bit Manipulation

XOR, AND, OR, shifts for binary ops.

XOR: a^a=0, a^0=a. n&(n-1) removes lowest set bit.

Key Concepts

XOR

Self-inverse for finding unique elements

Problems (20)