Skip to main content

9 docs tagged with "Heap"

View all tags

Fibonacci Heap

A comprehensive guide to Fibonacci Heap - a heap data structure with amortized O(1) insert and merge operations, used in advanced graph algorithms.

Fibonacci Heap

An advanced heap data structure supporting insert in O(1), extract-min in O(log n), and decrease-key in O(1) amortized time, used to optimise Dijkstra's algorithm.

heap data structure

Heaps are useful for merging multiple sorted lists efficiently and solving problems related to merging sorted sequences.

heap data structure

Heaps provide an efficient way to manage and retrieve median values from a stream of data by balancing two heaps.

Merge K Sorted Arrays

Given k sorted arrays with each of size k arranged in the form of a matrix of size k * k. The task is to merge them into one sorted array.

Treap

A comprehensive guide to Treap - a randomized BST that combines properties of Binary Search Trees and heaps for self-balancing.