After converting to upper case, you use this statement to increment one of the 26 counters corresponding to characters 'A' - 'Z' right?
counts[word.charAt(index)-'A']++;
If the current...
Type: Posts; User: Zaphod_b
After converting to upper case, you use this statement to increment one of the 26 counters corresponding to characters 'A' - 'Z' right?
counts[word.charAt(index)-'A']++;
If the current...