This is an old exam question.
Under what condition on (V, E) should we implement the min-priority queue of Prim's algorithm using an array (indexed by the vertices) rather than a heap (with logarithmic-time implementations of both the Extract-Min and Decrease-Key operations)?
Under what condition on (V, E) should we implement the min-priority queue of Prim's algorithm using an ordered array?