
The first and only line of input contains two space-separated integers, low and high.
Print a single line containing all the sequential-digit integers in the range [low, high], sorted in ascending order and separated by spaces.
If no such integers exist in the range, print an empty line.
The number of integers with sequential digits is very small. A highly efficient approach is to generate all possible sequential-digit numbers first and then filter them based on whether they fall within the given range [low, high].
Sorted Doubly Linked List to Balanced BST
Longest Substring with K-Repeating Characters
Expression Add Operators
Gray Code Transformation
Count of Subsequences with Given Sum