320 likes | 421 Views
The Problem. A heap (priority queue) is a data structure that stores elements with keys chosen from a totally ordered set (e.g. integers)We need to support the following operationsInsert an elementUpdate (decrease the key of an element)Extract min (find and delete the element with minimum key)
E N D