My LeetCode grinding. Trying to do a problem a day.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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.