Your question is Anagram Check for Two Strings. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
PayPal may compare normalized reference strings when validating a payment request. Given two strings, determine whether they are anagrams, meaning one can be formed by rearranging all characters of the other.
The comparison is case-sensitive, and every character must be matched exactly. For this problem, inputs contain only lowercase English letters. Repeated characters must occur the same number of times.
Implement is_anagram(s, t):
s and t containing zero or more lowercase English letters.True if s and t are anagrams, otherwise return False.def is_anagram(s, t):