#242

Valid Anagram

easy · 67.8% accepted · 14,209 likes · top 74%

hash table · string · sorting

⊣ practice⊣ quiz⊣ open on leetcode ↗

Description

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

Solution