For each character in input strings , increment count in the corresponding count array
while ( i < ( str1 ) . length && i < ( str2 ) . length ) { count [ ord ( str1 [ i ] ) ] += 1 ; count [ ord ( str2 [ i ] ) ] -= 1 ; i += 1 ; }