Problem 3751 · Medium

Total Waviness of Numbers in Range I

Look at each interior digit and count the peaks and valleys, summed over the whole range.

Open the interactive visualisation