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
what is the difference between class and unio?
I heard that you have to include stdio.h before calling printf. Why?
How many types of sorting are there in c?
What is storage class?
Describe static function with its usage?
What is the purpose of sprintf() function?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is pointer and structure in c?
What is c++ used for today?
Tell me what is null pointer in c?
Does * p ++ increment p or what it points to?
What is the c language function prototype?
Are enumerations really portable?
What is an example of structure?
What is use of bit field?