Function to find the minimum number of binary Strings to represent a number
function minBinary ( n ) { var digit = Array ( 10 ) . fill ( 0 ) ; var len = 0 ; while ( n > 0 ) { digit [ len ++ ] = n % 10 ; n = parseInt ( n / 10 ) ; }