In the given array exactly two distinct values occur an odd number of times and every other value occurs an even number of times. Find those two values and return them in ascending order. Note that the odd counts need not be one, and the even counts need not be two.
Input: A JSON object {"nums": [<integers>]} with exactly two odd-occurrence values.
Output: Return the two odd-occurrence values as [min, max].
Input: {"nums":[1,1,1,2,2,3]}
Output: [1,3]
Explanation: 1 occurs three times and 3 once, so the answer is [1,3].Input: {"nums":[4,4,4,4,7,9,9,9]}
Output: [7,9]
Explanation: 7 and 9 have odd counts -> [7,9].2 <= len(nums) <= 10^50 <= nums[i] <= 10^9