Back to QuestionsPractice with This Question
Group Anagrams
63.7K views•Asked 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.