feat: group anagrams
This commit is contained in:
14
pkg/group_anagrams/main_test.go
Normal file
14
pkg/group_anagrams/main_test.go
Normal 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"}))
|
||||
// }
|
||||
Reference in New Issue
Block a user