def find_odd_occurred_number_sol3(nums):
    """
    You are given an array of repeating numbers. All numbers repeat in even way, except for
    one. Find the odd occurring number.

    - Time: O(len(nums))
    - Space: O(1)
    """
    xor = 0

    for n in nums:
        xor ^= n

    return xor