Problems / Bit Manipulation / Single Number
#144 Easy Time O(n) Space O(1) Animated

Single Number

Find the element that appears once when others appear twice.

LeetCode ↗
Approach: Bitwise XOR
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps