Given an array of strings strs, group the anagrams together and return the groups in any order. Strings within each group may appear in any order.
Input: strs = ["eat", "tea", "tan", "ate", "nat", "bat"] Output: [["eat","tea","ate"], ["tan","nat"], ["bat"]] Explanation: The first three are anagrams of each other, as are "tan" and "nat". "bat" has no anagram partner.
Input: strs = [""] Output: [[""]] Explanation: Single empty string forms its own group.
Input: strs = ["a"] Output: [["a"]] Explanation: Single character string forms its own group.
strs[i] consists of lowercase English letters.strs = ["eat", "tea", "tan", "ate", "nat", "bat"]