Given A and B you have to find all stepping numbers in 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 stepping number, but 358 is not a stepping number
First argument is an integer A.
Second argument is an integer B.
Return a integer array sorted in ascending order denoting the stepping numbers between A and B.
A = 10 B = 20
All stepping numbers are 10 , 12
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a doubt? Checkout Sample Codes for more details.