Question: Assume that you are constructing a heap with five nodes 10 , 20 , 30 , 40 , and 50 . But you dont know
Assume that you are constructing a heap with five nodes 10, 20, 30, 40, and 50. But you dont know the input order of the numbers. Draw all possible different heaps with the 5 nodes that satisfy the requirement of a heap.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
