fix(tree): amend tree in golang

pull/45/head
reanon 2 years ago
parent d0302ee490
commit 67409cdb12

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

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

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

Loading…
Cancel
Save