Problem 2939 · Medium

Maximum Xor Product

Set both values’ shared zero bits to one, then split the differing bits so the two values stay as close as possible.

Open the interactive visualisation