Group Anagrams
Problem:Given an array of strings strs, group the anagrams together. You can return the answer in any order.
๐ Example:
Input: strs = ["eat", "tea", "tan", "ate", "nat", "bat"]
Output: [["bat"], ["nat","tan"], ["ate","eat","tea"]]
๐ง Intuition
All...
bugfreenik.hashnode.dev2 min read