You are viewing a single comment's thread. Return to all comments →
Why do you do freq[c - 'a']? Why do you subtract the lowercase a?
Seems like cookies are disabled on this browser, please enable them to open this website
Strings: Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Why do you do freq[c - 'a']? Why do you subtract the lowercase a?