Accenture interview question - Find the only unpaired element in the array

Posted by karank on Stack Overflow See other posts from Stack Overflow or by karank
Published on 2010-04-15T09:42:33Z Indexed on 2010/04/16 5:33 UTC
Read the original article Hit count: 314

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.

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about interview-questions