You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Given two strings s and t, return true if t is an anagram of s, and false otherwise.
# Solution:
# We need to create two hashmaps, each one containing the number of letters that appear on each string, this way, if we compare the two hashmaps and t has the same letter appearing at the same rate, then t is an anagram of s.