What is heap tree?



What is heap tree?..

Answer / Anisha

A heap tree is a complete binary tree with the property that the key at each parent node is greater than or equal to (max-heap) or less than (min-heap) its children's keys. Heaps are used in priority queues, Huffman coding, and in sorting algorithms.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are the categories of avl rotations?

1 Answers  


Tell me the difference between the character array and a string.

1 Answers   Honeywell, HPCL, Huawei, Zomato,


Define red-black trees.

1 Answers   Wipro,


How do you find the complexity of a bubble sort?

1 Answers  


What is treemap chart?

1 Answers  


What is array traversing?

1 Answers  


What is difference between set and map?

1 Answers  


How does a heap sort work?

1 Answers  


Mention a few applications of linked lists?

1 Answers  


What is Jagged Arrays?

1 Answers  


How can someone display singly linked list from first to last?

1 Answers  


Does linked list allow null values?

1 Answers  


Categories