Fundamentals of Algorithms

Question #249

Read the question, compare the options, and review the correct answer below.

CS502 · Final-term only#249

In Heap Sort algorithm, the maximum levels an element can move upward is _________

  1. A
    ?Theta (log n) (Page 43)
  2. B
    ?Order (log n)
  3. C
    ?Omega (log n)
  4. D
    ?O (1) i.e. Constant time
Show correct answer

Correct answer: A. ?Theta (log n) (Page 43)

Check community answers against your course notes.
← More practice questionsTake a timed test