【leetcode】49 字母異位詞分組(哈希表)

題目連接:https://leetcode-cn.com/problems/group-anagrams/web 題目描述 給定一個字符串數組,將字母異位詞組合在一塊兒。字母異位詞指字母相同,但排列不一樣的字符串。數組 示例:svg 輸入: ["eat", "tea", "tan", "ate", "nat", "bat"], 輸出: [ ["ate","eat","tea"], ["na
相關文章
相關標籤/搜索