Back to Questions

Group Anagrams

63.7K viewsAsked at Airbnb
Medium

Question Explain

Given an array of strings `strs`, group the anagrams together. You can return the answer in any order. Use a HashMap where the key is the sorted string.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Group Anagrams - Interview Question