NeetCode #147LC-1291MediumArrays & Hashing
← Back to All Problems

#147 · #1291 · Sequential Digits(顺次数)

📌 Problem Statement & Constraints

An integer has sequential digits if each digit is exactly one more than the previous. Given low and high, return a sorted list of all sequential digits in the range. Constraints: 10 <= low <= high <= 10^9.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!