InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is true?(a) Prim’s algorithm initialises with a vertex(b) Prim’s algorithm initialises with a edge(c) Prim’s algorithm initialises with a vertex which has smallest edge(d) Prim’s algorithm initialises with a forestThis question was addressed to me in examination.Origin of the question is Minimum Spanning Tree in division Minimum Spanning Tree of Data Structures & Algorithms II |
|
Answer» Right ANSWER is (a) Prim’s algorithm initialises with a VERTEX |
|