Documentation ¶
Index ¶
- type BST
- func (b *BST) Add(k int)
- func (b *BST) Contains(k int) bool
- func (b *BST) InOrder()
- func (b *BST) IsEmpty() bool
- func (b *BST) Len() int
- func (b *BST) LevelOrder()
- func (b *BST) Maximum() int
- func (b *BST) Minimum() *TreeNode
- func (b *BST) PostOrder()
- func (b *BST) PreOrder()
- func (b *BST) PreOrderNR()
- func (b *BST) Remove(k int)
- func (b *BST) RemoveMax() int
- func (b *BST) RemoveMin() *TreeNode
- func (b *BST) String() string
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BST ¶
type BST struct {
// contains filtered or unexported fields
}
func (*BST) PreOrderNR ¶
func (b *BST) PreOrderNR()
Click to show internal directories.
Click to hide internal directories.