loading...

re: Bitwise Operators VIEW POST

FULL DISCUSSION
 

XOR is handy for programming interviews too. If you ever have an array where all elements are duplicated except for one, you XOR every array element and are left with the answer.

 
Code of Conduct Report abuse