Pairing heaps with costless meld

  • Authors:
  • Amr Elmasry

  • Affiliations:
  • Max-Planck Institut für Informatik and University of Copenhagen

  • Venue:
  • ESA'10 Proceedings of the 18th annual European conference on Algorithms: Part II
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Improving the structure and analysis in [1], we give a variation of pairing heaps that has amortized zero cost per meld (compared to an O(lg lg n) in [1]) and the same amortized bounds for other operations. More precisely, the new pairing heap requires: no cost per meld, O(1) per find-min and insert, O(lg n) per delete-min, and O(lg lg n) per decreasekey, where n is the size of the priority queue at the time the operation is performed. These bounds are the best known for any self-adjusting heap, and match the lower bound established by Fredman for a family of such priority queues. Moreover, our structure is even simpler than that in [1].