Toward a Unique Representation for AVL and Red-Black Trees

Autores/as

  • Lynda Bounif Ecole Nationale Supérieure d’Informatique, Laboratoire de la Communication dans les Systèmes Informatiques
  • Djamel Eddine Zegour Ecole Nationale Supérieure d’Informatique, Laboratoire de la Communication dans les Systèmes Informatiques

DOI:

https://doi.org/10.13053/cys-23-2-2840

Palabras clave:

Balanced binary trees, red-black trees, AVL trees, binary search tree, partitioning, data structures

Resumen

We propose a unique representation of both AVL and Red-Black trees with the same time and space complexity. We describe all the maintenance operations and also the insertion and deletion algorithms. We give the implementation of the proposed tree and the results. We then make a comparison of the three structures. The simulation results confirm the performance of the new representation relatively to AVL and Red-Black trees.

Descargas

Publicado

2019-06-27