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