Question: 
Write a python function to find the element occurring odd number of times.


Model's Code:
def get_Odd_Occurrence(arr, n):
    count = {}
    for num in arr:
        count[num] = count.get(num, 0) + 1
    for num, freq in count.items():
        if freq % 2 != 0:
            return num



Sample Correct Code:
def get_Odd_Occurrence(arr,arr_size):   
    for i in range(0,arr_size): 
        count = 0
        for j in range(0,arr_size): 
            if arr[i] == arr[j]: 
                count+=1     
        if (count % 2 != 0): 
            return arr[i]     
    return -1


Asserts:
assert get_Odd_Occurrence([1,2,3,1,2,3,1],7) == 1
assert get_Odd_Occurrence([1,2,3,2,3,1,3],7) == 3
assert get_Odd_Occurrence([2,3,5,4,5,2,4,3,5,2,4,4,2],13) == 5


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 29 of 974: 23/29 (79.3103448275862%): success