Every value in nums appears twice, except two different values that appear once each. Return those two values in increasing order. Use O(1) extra memory if you can.
Example 1
Input:
two_single_numbers([1, 2, 1, 3, 2, 5])
Output:
[3, 5]
Example 2
Input:
two_single_numbers([-1, 0])
Output:
[-1, 0]
2 <= len(nums) <= 300000-2**31 <= nums[i] < 2**31No results yet
Run your code to check it against the examples, or submit to run every test.