Problem 2433 · Medium

Find The Original Array of Prefix Xor

Xor is its own inverse, so each original value is the xor of two neighboring prefix values.

Open the interactive visualisation