Question
Given two stringsÂ
s andÂt, returnÂtrue ifÂt is an anagram ofÂs, andÂfalse otherwise.
This is an arrays question.
Idea
Use “Counter()” to create a hashmap of the letters of the two words and compare the hashmaps together.