CodeOath
← All problems

Valid Anagram

Easy
stringshash-table

Return true if t is an anagram of s.

Example:

Input: s = "anagram", t = "nagaram"
Output: true