void Heap::heapDelete(HeapItemType& rootItem)
// Method: Swaps the last item in the heap with the root
// and trickles it down to its proper position.
{
rootItem = items[0];
items[0] = items[--size];
heapRebuild(0);
} // end heapDelete
So when I call "heapDelete(HeapItemType& rootItem)" function in the driver file..
I don't know what to pass as argument.
1
Expert's answer
2011-04-05T06:42:20-0400
You can submit it as an assignment to our control panel set the deadline and our programmers will assist you.
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment