Created
December 1, 2019 21:11
-
-
Save kwojcicki/a10302523a0015e49d10f3c6e3510eb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int findUniqueXOR(int[] numbers){ | |
int result = 0; | |
for(int i: numbers){ | |
result ^= i; | |
} | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment