Searcharxiv⌕ Search

arXiv subjects

Russel L. Villacarlos

Publications and source records attributed to Russel L. Villacarlos.

1 recordsLinked to original sources

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

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.

cs.DS↗