Problem 2683 · Medium

Neighboring Bitwise XOR

Each derived value is a xor of two original bits, so the derived array xors to zero exactly when a circular original exists.

Open the interactive visualisation