adplus-dvertising
frame-decoration

Question

The number of comparison required in heap sort under worst case is

a.

0 (n log n)

b.

O(n²)

c.

0 (log n)

d.

0 (n)

Answer: (a).0 (n log n)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The number of comparison required in heap sort under worst case is