Created
April 24, 2016 09:01
-
-
Save peterschmiz/dd26c976cc96d1b085f311f9f9ae29ca to your computer and use it in GitHub Desktop.
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
function solution(A) { | |
var missing_int = 0, | |
i = 0; | |
for (i; i < A.length; i++) { | |
missing_int ^= A[i]; | |
} | |
return missing_int; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment