Tale of Two Trees: BST to AVL
Version 1.0.0 (101 KB) by
Steve Lenk
A historical and practical paper describing and comparing BST and AVL trees using the Matlab PFDS functions and primary source papers.
This paper compares two data structure papers that were published in 1962. One, by Hibbard, discusses Binary Search Trees (BST). The other, by Adelson-Velsky and Landis, discusses AVL Trees. There are both gains and losses in using one or the other of these tree types. Experimental MATLAB code compares these two data types, using implementations for both in PFDS (Programmer Friendly Data Structures). All the implementation code and test code is available in the Mathworks repository, as described in the paper. The paper is both history of science and practical development advice.
Cite As
Steve Lenk (2025). Tale of Two Trees: BST to AVL (https://uk.mathworks.com/matlabcentral/fileexchange/180684-tale-of-two-trees-bst-to-avl), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
