`return A.reduce((a,b)=>a^b)`
Explanation - just find the xor of each element in the array, you will end up finding the lonely Integer!
`return A.reduce((a,b)=>a^b)`
Explanation - just find the xor of each element in the array, you will end up finding the lonely Integer!