Question:codility Lesson2 OddOccurrencesInArray
My answer:
def solution(A):
result = 0
for num in A:
result ^= num
return result
Question:codility Lesson2 OddOccurrencesInArray
My answer:
def solution(A):
result = 0
for num in A:
result ^= num
return result