What is a heap? What is the difference between min-heap and max-heap.
What is a heap? What is the difference between min-heap and max-heap.
Question

Transcribed Image Text:What is a heap? What is the difference between min-heap and max-heap.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
