You are viewing a single comment's thread. Return to all comments →
Simple and Easy Solution in Python If helps you please upvote to help others
maximum=0 for i in range(l,r+1): for j in range(i,r+1): print(i,j) val=i^j maximum= max(maximum,val) return maximum
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 →
Simple and Easy Solution in Python If helps you please upvote to help others