Skip to content

Instantly share code, notes, and snippets.

@peterschmiz
Created April 24, 2016 09:01
Show Gist options
  • Save peterschmiz/dd26c976cc96d1b085f311f9f9ae29ca to your computer and use it in GitHub Desktop.
Save peterschmiz/dd26c976cc96d1b085f311f9f9ae29ca to your computer and use it in GitHub Desktop.
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