deno.land / x / masx200_leetcode_test@10.6.5 / group-anagrams / index.ts
123456789import { groupBy } from "../deps.ts";
function groupAnagrams(strs: string[]) { return Object.values( groupBy(strs, (str) => Array.from(str).sort().join("")), );}export default groupAnagrams;
Version Info