DIMACS TR: 99-22

Towards a Dynamic Optimal Alphabetic Tree



Authors: Ahmed A.Belal, Mohamed S.Selim and Shymaa M.Arafat

ABSTRACT

We propose an algorithm to insert into or delete from a weighted binary alphabetic tree in linear-time keeping the tree optimal after insertion or deletion.We show that both insertion and deletion of a node can be done in O(n) time provided its weight is not bigger than the higher weight of its two neighbouring nodes.

Key words : Optimal alphabetic trees, insertion and deletion, linear time alphabetic trees.



Paper Available at: ftp://dimacs.rutgers.edu/pub/dimacs/TechnicalReports/TechReports/1999/99-22.ps.gz
DIMACS Home Page