What is Heap?

Answer Posted / nisha nair

A data structure called heap is a binary tree with keys
assigned to its nodes provided it satisfies two
requirements:

1. Tree shape requirement.
2. Parental domainance requirement.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is default value of global variable in c?

568


how to write a c program to print list of fruits in alpabetical order?

1803


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1677


What are the disadvantages of a shell structure?

699


Describe the header file and its usage in c programming?

626






Why we use break in c?

558


What is call by value in c?

571


What is wrong with this code?

701


Why calloc is better than malloc?

580


Is it acceptable to declare/define a variable in a c header?

690


What is the heap?

694


How does sizeof know array size?

636


Explain what happens if you free a pointer twice?

619


What are different types of operators?

604


How can I send mail from within a c program?

590