Unique number 1

https://online.codingblocks.com/player/5104/content/768, not able to solve this problem

take xor of all element same will be became zero and only unique will remain