Smallest number greater than or equal to N using only digits 1 to K
Given a number N and an integer K, the task is to find the smallest number greater than or equal to N, formed using only first K non-zero digits( 1, 2, ..., K-1, K).Examples: Input: N = 124, K = 3 Output: 131 Explanation: The smallest number greater than or equal to 124, which is only made of digits