49.Group-Anagrams
49. Group Anagrams
题目地址
题目描述
Given an array of strings, group anagrams together.
Example:
Input: ["eat", "tea", "tan", "ate", "nat", "bat"],
Output:
[
["ate","eat","tea"],
["nat","tan"],
["bat"]
]
Note:
All inputs will be in lowercase.
The order of your output does not matter.代码
Approach 1: Categorize by Sorted String
Previous[470.Implement-Rand10()-Using-Rand7()](Data-Structure/470.Implement-Rand10()-Using-Rand7().md)Next523.Continuous-Subarray-Sum
Last updated