You are viewing a single comment's thread. Return to all comments →
def maximizingXor(l, r): # Write your code here ma=0 for i in range(l,r+1): for j in range(i,r+1): ma=max(ma,i^j) return ma
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 →