A Tale of Two Trees: New Analysis for AVL Tree and Binary Heap

10/09/2020
by   Russel L. Villacarlos, et al.
0

In this paper, we provide new insights and analysis for the two elementary tree-based data structures - the AVL tree and binary heap. We presented two simple properties that gives a more direct way of relating the size of an AVL tree and the Fibonacci recurrence to establish the AVL tree's logarithmic height. We then give a potential function-based analysis of the bottom-up heap construction to get a simpler and tight bound for its worst-case running-time.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset