Search for a command to run...
Given an array of strings strs, group the anagrams together.
Two strings are anagrams if:
Return the grouped anagrams in any order.
Input: ["eat","tea","tan","ate","nat","bat"]
Output: [["eat","tea","ate"],["tan","nat"],["bat"]]
Example 1
["eat","tea","tan","ate","nat","bat"][["eat","tea","ate"],["bat"],["tan","nat"]]["eat","tea","tan","ate","nat","bat"]
[["eat","tea","ate"],["bat"],["tan","nat"]]