package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Creates new AVL tree with string key type.
Creates new AVL tree with custom key type.
Corresponding Comparer is required.
type AVLTree[K any, V any] interface {
Insert(key K, val V) error
Get(key K) (V, error)
Remove(key K) error
Clear()
Size() uint
Keys() []K
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.