Function to find the minimum number which have maximum length
static String max_number ( int [ ] arr , int sum ) { int [ ] frac = new int [ 9 ] ; int maxi = int . MinValue ; StringBuilder ans = new StringBuilder ( ) ; int pos = 0 ;