Problem 1977 · Hard

Number of Ways to Separate Numbers

Count the ways to split a digit string into a nondecreasing sequence of numbers without leading zeros. The visual tests each split point and compares the new number with the previous one.

Open the interactive visualisation