https://leetcode.com/problems/sequential-digits/class Solution: def sequentialDigits(self, low:int , high: int): res = [] low_digit , high_digit = len(str(low)), len(str(high)) for digits in range(low_digit, high_digit + 1): for start in range(1,9): if start + digits > 10: break num = start prev = ..