YOUR SUBJECT MTH721 Commutative AlgebraChange subject ↗
Fundamentals of Algorithms

Question #124

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

CS502 · Final-term only#124

What is the time complexity to extract a vertex from the priority queue in Prim’s algorithm?

  1. A
    ?O (log E)
  2. B
    ? (V)
  3. C
    ? (V+E)
  4. D
    ?O (log V)
Show correct answer

Correct answer: D. ?O (log V)

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