In an array elevery element is present twice except one. Need to find that element without using any extra space.
Anonymous
Take XOR of all elements and the answer of the XOR will be the solution.
Check out your Company Bowl for anonymous work chats.