Coding: given two strings, determine whether they are anagrams (simplified version of a Group Anagrams style problem).
Asked in the technical interview stage. This was the coding part at the end of the technical interview.
Implement are_anagrams(s, t) and return True when both strings contain the same characters with the same frequencies. The comparison is case-sensitive, and spaces and punctuation count as characters.
def are_anagrams(s, t):