My LeetCode grinding. Trying to do a problem a day.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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.