Every element of nums appears exactly twice except one, which appears once. Find it in O(n) time and O(1) space.
Input: one line of space-separated integers. Output: the single number.
2 2 1
1
4 1 2 1 2
4
Run your code against the sample tests, or Submit to run the full suite.