Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1291. Sequential Digits
Find all integers whose digits are consecutive increasing digits (each digit = previous + 1) and return the sorted list of those within the inclusive range [low, high]. Because digits are limited to 1–9, candidates are just the contiguous subsequences of "123456789", so you only need to generate and filter that small set.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.