compare
This commit is contained in:
@@ -32,9 +32,6 @@ type Tree struct {
|
||||
}
|
||||
|
||||
func New(comparator utils.Comparator) *Tree {
|
||||
if m == nil {
|
||||
m = make(map[int]int)
|
||||
}
|
||||
return &Tree{comparator: comparator}
|
||||
}
|
||||
|
||||
@@ -615,8 +612,6 @@ func (avl *Tree) fixRemoveHeight(cur *Node) {
|
||||
|
||||
}
|
||||
|
||||
var m map[int]int
|
||||
|
||||
func (avl *Tree) fixPutHeight(cur *Node) {
|
||||
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user