DEV Community

Discussion on: Terrible interview question: Swap variables without a temporary

Collapse
 
msosto profile image
Mariano

Nice article, swapping variables with exclusive-or reminds me of Siklossy algorith (it uses or-exclusive to keep linked nodes without using pointers).