Problem 1422 · Easy

Maximum Score After Splitting a String

Split a binary string into two nonempty parts to maximise zeros on the left plus ones on the right. The visual sweeps a split point and tracks the running counts of zeros and ones.

Open the interactive visualisation