Two strings are anagrams if one can be rearranged into the other: they contain the same characters the same number of times. Return True if a and b are anagrams, otherwise False.
Example 1
Input:
is_anagram('listen', 'silent')
Output:
True
Example 2
Input:
is_anagram('rat', 'car')
Output:
False
0 <= len(a), len(b) <= 2 * 10**5No results yet
Run your code to check it against the examples, or submit to run every test.