You are viewing a single comment's thread. Return to all comments →
Could you explain your approach to the problem? What does the line
cArr[s1.charAt(i)-97]++
do?
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 →
Could you explain your approach to the problem? What does the line
do?