Skip to content

Latest commit

 

History

History
69 lines (30 loc) · 841 Bytes

File metadata and controls

69 lines (30 loc) · 841 Bytes

中文文档

Description

Given an array of strings, group anagrams together.

Example:

Input: ["eat", "tea", "tan", "ate", "nat", "bat"],

Output:

[

  ["ate","eat","tea"],

  ["nat","tan"],

  ["bat"]

]

Note:

    <li>All inputs will be in lowercase.</li>
    
    <li>The order of your output does not&nbsp;matter.</li>
    

Solutions

Python3

Java

...