Written by
Artyom Boyko

on

on

# Codility: OddOccurrencesInArray

*Time Complexity*: O(N)

*Space Complexity*: O(1)

```
from functools import reduce
from operator import xor
def solution(A):
return reduce(xor, A)
```

Written by
Artyom Boyko

on

on

*Time Complexity*: O(N)

*Space Complexity*: O(1)

```
from functools import reduce
from operator import xor
def solution(A):
return reduce(xor, A)
```