01 · Question
A stepping number is an integer such that all of its adjacent digits have an absolute difference of exactly 1.
- For example,
321is a stepping number while421is not.
Given two integers low and high, return a sorted list of all the stepping numbers in the inclusive range [low, high].
02 · Solution