Loading problem…
You are building a search-suggestion cleanup tool. Suggestions that contain the same characters in different orders should be grouped together so the UI can show related variants as one cluster.
Given an array of strings strs, group the anagrams together and return the grouped result.