## [http://www.ardendertat.com/2011/12/13/programming-interview-questions-22-find-odd-occurring-element/]

def getOdd(arr):
    return reduce(lambda x, y: x^y, arr)

## reduce (function, iterable [, initializer])
## http://python-reference.readthedocs.io/en/latest/docs/functions/reduce.html?highlight=reduce

## advanced case find two odd occurance
## Find the two numbers with odd occurrences in an unsorted array

## http://www.geeksforgeeks.org/find-the-two-numbers-with-odd-occurences-in-an-unsorted-array/
## http://stackoverflow.com/questions/22952651/explain-using-xor-to-find-two-non-duplicate-integers-in-an-array


## all methodes examples!!!
## http://www.geeksforgeeks.org/find-the-two-repeating-elements-in-a-given-array/
