Strings: Making Anagrams

  • + 0 comments

    Create 2 hashmaps in order to store the occurance if each character in each of the strings.

    Iterate through the hashmaps and compare the two hashmaps in order to get the count of characters to be deleted.