Top Stories published by Coding Memo in January of 2022

[Leetcode] Group Anagrams

An extension from Valid Anagram. Unicode characters would not be inputs in this problem, so sorting will do the trick.

Description

Given an array of strings strs, group the anagrams together. You can return the answer in any order.