← Divide & Conquer

Micro-Drill #54 — Toggle ith bit

Divide & Conquer Target: 5s

XOR toggle flips a single bit. Core operation for Hamming distance and bit manipulation.

n ^ (1 << i)

Type it from memory. Go.

Practice Problems

← Micro #53 Micro #55 →