Easy

Quiz

#242 Valid Anagram

APPROACH

Given two strings s and t, return true if t is an anagram of s, or false otherwise. An anagram uses the same characters with the same frequencies as the original string, just rearranged.

1 of 4
1:00

What is the optimal approach for this problem?