Problem 3875 · Easy

Construct Uniform Parity Array I

Every position either keeps its number or takes away a different number from the list; the goal is one shared parity across the result.

Open the interactive visualisation