- we could create a frequency map for each character
- we could also achieve the same thing by sorting both strings s and t
- if they are equal, then we know they are anagrams
π‘ Explanation of Solution
same as intuition
β Complexity Analysis
Time Complexity: O(n log n)
Space Complexity: O(1)