package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 9, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package dict encapsulates the structure which is in charge
of populating the petname array
Print draws the current tree (only useful for debugging)
Node represents a node in the Used binary
tree to accelerate search speed
type Tree struct {
Root *Node
Depth int
}
Tree is a representation of a binary search tree
func (t *Tree) Insert(k interface{})
Insert inserts a key into a binary tree
Search finds a consecutive series of int in the binary tree
Source Files
¶
Click to show internal directories.
Click to hide internal directories.