Source code int solution(int A[], int N) { int i, result = 0; for(i = 0; i < N; i++) result ^= A[i]; return result; }