You are viewing a single comment's thread. Return to all comments →
def maximizingXor(l, r): m=0 for i in range(l,r+1): for j in range(l,r+1): if(m>(i^j)): pass else: m=i^j return m
Seems like cookies are disabled on this browser, please enable them to open this website
Maximizing XOR
You are viewing a single comment's thread. Return to all comments →