You are viewing a single comment's thread. Return to all comments →
#python def xoringNinja(arr): result = 0 for x in arr: result =result | x return result*(2**(len(arr)-1)) % (10**9 + 7)
Seems like cookies are disabled on this browser, please enable them to open this website
Xoring Ninja
You are viewing a single comment's thread. Return to all comments →