The heapsort is ______ in the average case.

a) O(1)
b) O(n)
c) O(log n)
d) O(n log n)

D

Computer Science & Information Technology

You might also like to view...

The CPU consists of three parts: the control unit, the ALU unit, and RAM.

a. true b. false

Computer Science & Information Technology

One way to ensure that a variable is of the correct data type is through type ____.

A. naming B. identifying C. casting

Computer Science & Information Technology