#242
Valid Anagram
pupil · 300 · lc easy +20 · 67.8% accepted · 14,209 likes · top 74%
Description
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.
Code
1
2
3