Function to find minimum number of partitions of given binary string so that each partition is power of 4 or 6.
static int numberOfPartitions ( String binaryNo ) { int i , j , n = binaryNo . length ( ) ;