Question: C++ The following strings are inserted, in the order given, into an initially empty heap: Bear, Eagle, Ant, Fish, Gnu, Cat, Dog The resulting heap
C++
The following strings are inserted, in the order given, into an initially empty heap:
Bear, Eagle, Ant, Fish, Gnu, Cat, Dog
The resulting heap array would be:
Gnu Fish Dog Bear Eagle Ant Cat
Gnu Dog Fish Ant Cat Bear Eagle
Gnu Fish Dog Bear Eagle Cat Ant
Gnu Dog Fish Bear Eagle Ant Cat
none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
