What operation does the following algorithm describe?Algorithm aHeapOperation (heap, size)   set walker to 1   loop (walker < size)      reheapUp(heap, walker)      increment walker   end loopend aHeapOperation

A. build heap
B. insert heap
C. reheap up
D. reheap down


Answer: A

Computer Science & Information Technology

You might also like to view...

What are the purposes of the ENUM and TRIP protocols?

What will be an ideal response?

Computer Science & Information Technology

Can the insertion sort be considered a greedy algorithm?

a. No b. Yes c. Maybe d. Unknown

Computer Science & Information Technology

Pressing [Ctrl] [______] moves you to the top of a document.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following should be installed to support Gigabit Ethernet within a home network?

A. 10Base2 B. 100Base2 C. 100BaseT D. 1000BaseT

Computer Science & Information Technology