Making Anagrams

  • + 2 comments

    Could you explain your approach to the problem? What does the line

    cArr[s1.charAt(i)-97]++
    

    do?