📚 Question Bank Q29 — Algorithms
Tags
Algorithms
Q29. Marks: +2.0 UGC NET Paper 2: Computer Science17th June 2023

Consider the following statements about heap sort algorithm:

A. The MAX-HEAPIFY procedure which runs in O lg (n) time, is the key to maintaining the max heap property

B. The BUILD-MAX-HEAP procedure, which runs in O lg (n) time, produces max-heap from an unordered input array

C. The MAX-HEAP-INSERT, which runs in O (lg n) time, implements the insertion operation

D. The HEAP-INCREASE-KEY procedure runs in O (n lg n) time, to set the key of new node of its correct value

Choose the correct answer from the options given below:

1.A, B only
2.A, C only  ✓ Correct
3.B, D only
4.A, B, C, D
📄 All “Algorithms” questions across papers
🏷 Change Tag for this Question