Skip to content

Swap Two Numbers

Swap two numbers without the usual swapping logic: a coding question solved with bit manipulation, with a step-by-step explanation of how the approach works.

Data Structures and Algorithms Bit Manipulation
Gopi Gorantala