Sobes.tech
Junior — Senior

Anagram word assembly into groups

livecode

Task condition

Implement a function (without the need to declare a class or import packages) that takes an array of strings and returns a two-dimensional array, where each nested array contains a set of anagrams — words made up of the same characters.

func groupAnagrams(arr []string) [][]string{
    
}