You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, we used dictionary to store the Count of the anagrams. We check the count of each word by sorting it and increasing it's count and returning it's maximum count.