Find the maximum digit in the array
for ( int i = 0 ; i < len ; i ++ ) { ans = Math . Max ( ans , digit [ i ] ) ; } Console . Write ( " Minimum ▁ Number ▁ of ▁ binary " + " ▁ Strings ▁ needed : ▁ " + ans + " STRNEWLINE " ) ;