by twiceaday · 7mo ago · 0 comments
Solution: xor is just addition mod 2. Write the numbers in base n and do digit-wise addition mod n (ie without carry). Very intuitive way to see the xor trick.
No comments yet.