Problem 3908 · Easy
Scan decimal digits, test the leading-digit restriction, and combine both conditions.
Open the interactive visualisation