feat: group anagrams

This commit is contained in:
2025-12-15 21:35:21 -05:00
parent 2a6e1677d6
commit da48abc0d1
2 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package group_anagrams_test
// import (
// "testing"
// . "git.maximhutz.com/practice/pkg/group_anagrams"
// "github.com/stretchr/testify/assert"
// )
// func Test1(t *testing.T) {
// assert.Equal(t,
// [][]string{{"bat"}, {"nat", "tan"}, {"ate", "eat", "tea"}},
// GroupAnagrams([]string{"eat", "tea", "tan", "ate", "nat", "bat"}))
// }