Back to the 2024 paper

Module 2: Divide and Conquer Paradigm and Heaps

20242m

Worst-case complexity of heap sort is -

  • (i) O(log⁡n)O(\log n)
  • (ii) O(n2)O(n^2)
  • (iii) O(nlog⁡n)O(n \log n)
  • (iv) O(n)O(n)

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.