closed by
328 views
0 votes
0 votes
closed as a duplicate of: Max Heap
The number of ways in which the numbers 1, 2, 3, 4, 5 can be inserted into binary heap. Such that resulted binary heap is max heap ________.

Made easy says that there are 8 possible ways but I don't get more than 4.
closed by

Related questions

0 votes
0 votes
3 answers
1
0 votes
0 votes
1 answer
2
3 votes
3 votes
5 answers
3
srestha asked May 22, 2019
1,861 views
Consider the following function height, to which pointer to the root node of a binary tree shown below is passedNote that max(a,b) defined by #define max(a,b) (a>b)?a:b.i...