Problem 754 · Medium
Add 1, 2, 3, ... until the sum reaches the target with matching parity.
Open the interactive visualisation