My LeetCode grinding. Trying to do a problem a day.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

problem.txt 268B

1234567891011121314151617
  1. Given an array of strings, group anagrams together.
  2. Example:
  3. Input: ["eat", "tea", "tan", "ate", "nat", "bat"],
  4. Output:
  5. [
  6. ["ate","eat","tea"],
  7. ["nat","tan"],
  8. ["bat"]
  9. ]
  10. Note:
  11. All inputs will be in lowercase.
  12. The order of your output does not matter.