Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 842 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 842 Bytes

AVL tree for key-value store

This package implements an AVL tree for key-value store.

What is an AVL tree?

An AVL tree is a self-balancing binary search tree.

Features

Feature Implemented
Insertion yes
Deletion yes
Searching yes
Get inorder successor yes
Get inorder predecessor yes
Inorder traversal yes
Preorder traversal yes
Postorder traversal yes
Balancing yes (AVL)

Serialization of the tree will not be implemented since the key and value can be an arbitrary type. It would be better for the caller to implement the serialization that fits the use case the best.