Valid Anagram
Input: `s` (str), `t` (str). Return: `True` if `t` is an anagram of `s`, else `False`.
Example
Input: 'anagram', 'nagaram'
Output: True
Need a hint?
- Sort both strings or use frequency counters
Run your code to see output
Input: `s` (str), `t` (str). Return: `True` if `t` is an anagram of `s`, else `False`.
Input: 'anagram', 'nagaram'
Output: True
Run your code to see output