Stepping Numbers

https://practice.geeksforgeeks.org/problems/stepping-numberswrong-output/0

Didn’t understand the Example.

You are given two number n and m. you have to count the number of stepping numbers in range n to m.
a number is a stepping number if all its adjacent digits differ by one.
21 is a stepping number because 2 and 1 differ by one… but 20 or 22 are not stepping numbers because adjacent digits differ by more than 1. Also, every single digit number is also a stepping number as it only has one digit.

Look at the Example which they have given.
n=0,m=21