2.7 Heaps
2.7 Heaps
2.7 Heaps
UNIVERSITY INSTITUTE OF
ENGINEERING
COMPUTER SCIENCE
ENGINEERING
Bachelor of Engineering
Design and Analysis of
Algorithms(CST-302/ITT-302)
Chapter 2
Prepared By: Amrita Chaudhary (E8745)
Topic: Heaps DISCOVER . LEARN . EMPOWER
Outcome:
• Student will understand
Heap and its types
Heap
REFERENCES
Text books:
•Cormen, Leiserson, Rivest, Stein, “Introduction to Algorithms”, Prentice Hall of
India, 3rd edition 2012. problem, Graph coloring.
•Horowitz, Sahni and Rajasekaran, “Fundamentals of ComputerAlgorithms”,
University Press (India), 2nd edition
Websites:
1.https://www.tutorialspoint.com/data_structures_algorithms/
heap_data_structure.htm
2.https://www.geeksforgeeks.org/
Summary
Introduction to Heaps
• Basic terms
Types of Heaps
• Max-heap
• Min-heap