Valid Anagram

Determine whether the second string can be formed by rearranging the characters of the first string so both strings contain the same letters with the same counts.

Examples
Input: ["anagram","nagaram"]
Output: true
Hints
Related Problems

Valid Anagram

Determine whether the second string can be formed by rearranging the characters of the first string so both strings contain the same letters with the same counts.