🐍 EASY & Simple || Concise || 98% faster || Well-Explained 📌📌
IDEA :\n The main idea is to make the different groups for every different anagrams.\n Since Anagrams means to have same letters with different meanings.\n We c
## IDEA :\n* The main idea is to make the different groups for every different anagrams.\n* Since Anagrams means to have same letters with different meanings.\n* We can use the idea of sort to arrange them in group.\n* Sorted word of Every Anagram words will be same.\n****\nEg: ["tea","eat","ate] will have sorted word as **"aet"**. \nHere "aet" can be key of dictionary and all others as values.\n\n\'\'\'\n\n\tclass Solution:\n    def groupAnagrams(self, strs: List[str]) -> List[List[str]]:\n        dic=defaultdict(list)\n        for s in strs:\n            dic[\'\'.join(sorted(s))].append(s)\n        \n        return dic.values()\n\n****\nThanks and support if you got helpful!! \uD83E\uDD17\nPlease **Upvote** and feel free to ask if you have any doubt. \uD83E\uDD1E
['Python', 'Python3']