You are viewing a single comment's thread. Return to all comments →
it would return true. note that we are only storing the frequencies of each letter in both the strings and then comparing them one by one.
If the frequencies match for each digit, they are anagram
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
it would return true. note that we are only storing the frequencies of each letter in both the strings and then comparing them one by one.
If the frequencies match for each digit, they are anagram