You are viewing a single comment's thread. Return to all comments →
Here is my Python solution!
def sansaXor(arr): if len(arr) % 2 == 0: return 0 result = 0 for i in range(0, len(arr), 2): result ^= arr[i] return result
Seems like cookies are disabled on this browser, please enable them to open this website
Sansa and XOR
You are viewing a single comment's thread. Return to all comments →
Here is my Python solution!