Documentation
      ¶
    
    
  
    
  
    Index ¶
- type BST
 - func (this *BST[T, M]) Add(value T, meta M)
 - func (this *BST[T, M]) InOrderSeq() iter.Seq[*Node[T, M]]
 - func (this *BST[T, M]) Max() *Node[T, M]
 - func (this *BST[T, M]) Min() *Node[T, M]
 - func (this BST[T, M]) NewBalanced() BST[T, M]
 - func (this *BST[T, M]) PostOrderSeq() iter.Seq[*Node[T, M]]
 - func (this *BST[T, M]) PreOrderSeq() iter.Seq[*Node[T, M]]
 - func (this *BST[T, M]) Remove(value T) (Node[T, M], bool)
 - func (this *BST[T, M]) Search(value T) (*Node[T, M], bool)
 
- type Node
 - func (this *Node[T, M]) Add(value T, meta M)
 - func (this *Node[T, M]) InOrderSeq() iter.Seq[*Node[T, M]]
 - func (this *Node[T, M]) Max() *Node[T, M]
 - func (this *Node[T, M]) Min() *Node[T, M]
 - func (this *Node[T, M]) PostOrderSeq() iter.Seq[*Node[T, M]]
 - func (this *Node[T, M]) PreOrderSeq() iter.Seq[*Node[T, M]]
 - func (this *Node[T, M]) Search(value T) (*Node[T, M], bool)
 
- type NodeValue
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BST ¶
func (BST[T, M]) NewBalanced ¶
type Node ¶
func FromSortedList ¶
 Click to show internal directories. 
   Click to hide internal directories.