Making Anagrams, is a HackerRank problem from Strings subdomain. In this post we will see how we can solve this challenge in Python

Problem Description

We consider two strings to be anagrams of each other if the first string's letters can be rearranged to form the second string. In other words, both strings must contain the same exact letters in the same exact frequency. For example, bacdc and dcbac are anagrams, but bacdc and dcbad are not.

A ....

You can find the full details of the problem Making Anagrams at HackerRank

Solution: Please check the making-anagrams.py snippet for the solution.

This solution originally posted at: Github by @srgnk