Every element appears twice except one. Find that single one using O(n) time and O(1) space. Variant **#33**.
Example 1
Input: nums = [2,2,3,4,4,5,5,5]
Output: 6
Constraints
Acceptance: 78% · Topics: bit-manipulation, array
← All practice problems