Link: https://leetcode.com/problems/group-anagrams/
Solution:
Topics: hash map
Intuition
Cute little problem. Not much to it though. Just keep a hash map with the frequency as the value (tuple or sorted string).
Implementation
Review 1
Sorted string solution is much more elegant and memory efficient…although technically a bit slower in the worst case.