You are viewing a single comment's thread. Return to all comments →
Hey, do you mind explaining what the bold part does exactly? Thanks!
for(int i=0;i<in1.length();i++) **array[in1[i]-'a']++;** for(int i=0;i<in2.length();i++) **array[in2[i]-'a']--;**
Seems like cookies are disabled on this browser, please enable them to open this website
Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Hey, do you mind explaining what the bold part does exactly? Thanks!