Accenture interview question - Find the only unpaired element in the array
- by karank
You have been given an array of size 2n+1 that have n pair of integers(can be +ve, -ve or 0) and one unpaired element.
How would you find the unpaired element.
Pair means duplicate. So (3,3) is a pair and (3,-3) is not a pair.