fix(tree): amend tree in golang

This commit is contained in:
reanon 2022-11-29 00:48:01 +08:00
parent d0302ee490
commit 67409cdb12
3 changed files with 5 additions and 2 deletions

View File

@ -5,8 +5,9 @@
package chapter_tree
import (
. "github.com/krahets/hello-algo/pkg"
"sort"
. "github.com/krahets/hello-algo/pkg"
)
type BinarySearchTree struct {

View File

@ -6,6 +6,7 @@ package chapter_tree
import (
"container/list"
. "github.com/krahets/hello-algo/pkg"
)

View File

@ -5,8 +5,9 @@
package chapter_tree
import (
. "github.com/krahets/hello-algo/pkg"
"testing"
. "github.com/krahets/hello-algo/pkg"
)
func TestBinaryTree(t *testing.T) {