Xor Of Sum Of All Pairs
1. You are given an array of integers. 2. You have to find the XOR of sum of all pairs in the array.
1 <= N <= 10^9 1 <= arr[i] <= 10^9
A number N arr1 arr2.. N numbers
Check the sample ouput and question video.
5 1 5 2 1 2