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.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments