Created
October 6, 2017 09:18
-
-
Save jozsefs/27b8c644b7ba550c397828f404f1d30a to your computer and use it in GitHub Desktop.
find unique number in array with pairs present
This file contains 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
[1,2,2,1,3,3,4,5,5,0,0,6,7,6,7].reduce((acc, next) => acc ^ next, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment