Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

Red_Before_GTA6's blog

By Red_Before_GTA6, history, 2 years ago, In English

Did you know that the minimum XOR pair of an array can be found by sorting the array, then checking the XOR of adjacent elements.

Can anyone prove why?

Full text and comments »

  • Vote: I like it
  • +17
  • Vote: I do not like it