all.
I think I can only understand one way to make count[128] mark the string's characters' occurences:
if s string characters are all lowercase, then it comes to :
for(char c: s.toCharArray()) count[c-'a']++;
If they are all uppercase,
for(char c: S.toCharArray()) count[c-'A']++;
But I can't make sense how does this way to mark the character directly into int indexes?
for(char c: s.toCharArray()) count[c]++;
From my understanding, is it count['A'] making sense?