Leaving LeetCode
You're leaving LeetCode for an external site that may pose security risks. Continue?
https://www.geeksforgeeks.org/n-th-number-with-digits-in-0-1-2-3-4-5/
Continue