Reflected min-max heaps

  • Authors:
  • Christos Makris;Athanasios Tsakalidis;Kostas Tsichlas

  • Affiliations:
  • Computer Engineering and Informatics Department of University of Patras, Patras, Greece;Computer Engineering and Informatics Department of University of Patras, Computer Technology Institute (CTI), Patras, Greece;Computer Engineering and Informatics Department of University of Patras, Patras, Greece

  • Venue:
  • Information Processing Letters
  • Year:
  • 2003

Quantified Score

Hi-index 0.89

Visualization

Abstract

In this paper we present a simple and efficient implementation of a min-max priority queue, reflected min-max priority queues. The main merits of our construction are threefold. First, the space utilization of the reflected min-max heaps is much better than the naive solution of putting two heaps back-to-back. Second, the methods applied in this structure can be easily used to transform ordinary priority queues into min-max priority queues. Third, when considering only the setting of min-max priority queues, we support merging in constant worst-case time which is a clear improvement over the best worst-case bounds achieved by Høyer.