Find the element that appears only once in an array where every other element appears twice.
MediumProblem Statement
Find the element that appears only once in an array where every other element appears twice.
Sample Input
[1, 2, 2, 3, 3]
Sample Output
1
Limits
Time: 2s · Memory: 256 MB