Last active
April 14, 2017 01:29
-
-
Save chuck0523/4c7df1ad4317972841aa87128b670b46 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
const solution(N) => N.reduce((a, b) => a ^ b) | |
solution([5, 4, 3, 5, 3]) // 4 | |
// https://codility.com/programmers/lessons/2-arrays/odd_occurrences_in_array/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment