Given A and B you have to find all stepping numbers in the range A to B.
The stepping number:
A number is called as a stepping number if the adjacent digits have a difference of 1.
e.g. 123 is a stepping number, but 358 is not a stepping number.
A = 10
B = 20
All stepping numbers are 10 , 12
A = 50, B = 71
Please note the formatting of the output.