Find the smallest positive number which can not be represented by given digits
Given an array arr[] of size 10 where arr[i] represents the frequency of the digit i. The task is to find the smallest positive number which can not be represented by the given digits. Examples: Input: arr[] = {2, 1, 1, 4, 0, 6, 3, 2, 2, 2} Output: 4 Since the count of 4th digit is 0. So 4 can not b