Rank-Pairing Heap

Home > Computer Science > Algorithms and data structures > Heaps and Priority Queues > Rank-Pairing Heap

A rank-pairing heap is a tree-based heap where each node has a rank (size of its subtree) and a priority. It provides efficient O(log n) time complexity for all priority queue operations.