Group Anagrams — JavaScript medium interview problem
Given an array of strings `strs`, group the anagrams together. You can return the answer in any order. Two strings are anagrams if they contain the same characters with the same frequencies. Example: `groupAnagrams(["eat","tea","tan","ate","nat","bat"])` → groups like `[["bat"],["nat","tan"],["ate","eat","tea"]]`.
Tags: hashmap, sorting
Practice this Strings problem free in the JS Interview Playground with automated tests and unlockable solutions.