You are viewing a single comment's thread. Return to all comments →
L = 11111 R = 01000 X____ <-- that's most significant differing bit 11111 <-- here's our final answer
11111 in binary is 31 in decimal. We can create that by XORING: 16 with 15
HackerRank solutions.
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 →
11111 in binary is 31 in decimal. We can create that by XORING: 16 with 15
HackerRank solutions.