Given two strings s and t, return true if t is an anagram of s (same characters with the same frequencies), otherwise false.
Input: line 1 is s, line 2 is t.
Output: true or false.
anagram nagaram
true
rat car
false
Run your code against the sample tests, or Submit to run the full suite.