Sequential Digits | Leetcode1291 | Recursion