Problem 1734 · Medium

Decode XORed Permutation

Recover an odd-length permutation from XORs of adjacent values.

Open the interactive visualisation