Fundamentals of Algorithms

Question #175

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

CS502 · Final-term only#175

What is the total time to heapify?

  1. A
    ? ?(log n) (Page 43)
  2. B
    ? ?(n log n)
  3. C
    ? ?(n2
    log n)
  4. D
    ? ?(log2
    n)
Show correct answer

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

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