leetcode_1291
An integer has sequential digits if and only if each digit in the number is one more than the previous digit.
Return a sorted list of all the integers in the range [low, high] inclusive that have sequential digits.
Constraints:
10 <= low <= high <= 10^9
Solutions
generare all possible sequential digist
Last updated
Was this helpful?