During a reheap down operation, as we push nodes down the heap, we need to determine whether the current entry is less than either of its children (one or both). If it is, we need to ____.

A. reheap the heap
B. remove it from the heap
C. exchange it with the smallest entry and recursively call reheap up
D. exchange it with the larger entry and recursively call reheap down


Answer: D

Computer Science & Information Technology

You might also like to view...

Several people who connect to the Internet and communicate in real time by typing comments to each other is called a(n) ____.

A. chat group B. instant message C. VoIP D. social network

Computer Science & Information Technology

The same communication technologies that enable people to work from home, enable someone to work on a project from another country. This is called ________

A) outsourcing B) teleworking C) insourcing D) telecommuting

Computer Science & Information Technology

?To select and resize multiple fields in a report, you press the Tab key as you select the different fields.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following could be a major concern for implementing cloud computing for business-critical services?

A. Incompatible software, hardware, or operating systems. B. Being charged for computing services that go unused. C. A cloud provider’s inability to scale up or down. D. An intermittent or unavailable Internet connection.

Computer Science & Information Technology