Tale of Two Trees: BST to AVL

A historical and practical paper describing and comparing BST and AVL trees using the Matlab PFDS functions and primary source papers.
5 Downloads
Updated 7 Apr 2025

View License

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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0