Map Graph
No coordinates found

Min-max heap

Computer data structure

In computer science, a min-max heap is a complete binary tree data structure which combines the usefulness of both a min-heap and a max-heap, that is, it provides constant time retrieval and logarithmic time removal of both the minimum and maximum elements in it. This makes the min-max heap a very useful data structure to implement a double-ended priority queue. Like binary min-heaps and max-heaps, min-max heaps support logarithmic insertion and deletion and can be built in linear time. Min-max heaps are often represented implicitly in an array; hence it's referred to as an implicit data structure.

Read article
Top Questions
AI generated

List the top facts about Min-max heap

Summarize this article

What is the single most intriguing fact about Min-max heap?

Are there any controversies surrounding Min-max heap?

More questions