Sometimes we need to have a sorted set of the data where we may insert a new element for O(log(n)) time complexity and having a possibility iterating it in ascending or descending orders. For this purpose the best solution is a self-balanced binary search tree. This repository provides AVL tree implementation is written in PHP, because SPL doesn't provide a built-in implementation of any self-balanced tree.
-
Notifications
You must be signed in to change notification settings - Fork 0
shotonoff/bts-avl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published