You are viewing a single comment's thread. Return to all comments →
Python Solution
def maximizingXor(l, r): return max([i^j for i in range(l,r+1) for j in range(i,r+1)])
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 →
Python Solution