Glossary: Algorithms Beyond the Basics in C++
XOR
Also written: exclusive or, ^
A bit operation giving 1 where two bits differ. Since `x ^ x` is 0, XORing a list cancels pairs, leaving the one unpaired order ID.
Glossary: Algorithms Beyond the Basics in C++
Also written: exclusive or, ^
A bit operation giving 1 where two bits differ. Since `x ^ x` is 0, XORing a list cancels pairs, leaving the one unpaired order ID.