Question: A heap is initialized (with make_heap), starting with an array with the following strings: Fred, Terri, Bob, Wilma, Zelda, Pam, Ron The resulting heap array
A heap is initialized (with make_heap), starting with an array with the following strings:
"Fred", "Terri", "Bob", "Wilma", "Zelda", "Pam", "Ron"
The resulting heap array would be:
Zelda Wilma Ron Fred Terri Bob Pam Zelda Ron Wilma Bob Pam Fred Terri Zelda Wilma Ron Fred Terri Pam Bob Zelda Ron Wilma Fred Terri Bob Pam none of the above
Please show the work in detail. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
