Question

Given two strings s and t, return true if t is an anagram of s, and false otherwise.

This is anarrays question.

Idea
Use “Counter()” to create a hashmap of the letters of the two words and compare the hashmaps together.

Solution