Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 292 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 292 Bytes

47.Group Anagrams

Description

Given an array of strings, group anagrams together.

Example

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

From

LeetCode