1. वेगळा घटक शोधा: Kruskal, Floyd-Warshall, Prim, Boruvka.
उत्तर दाखवा
बरोबर उत्तर: B. Floyd-Warshall
A detailed explanation for this question is currently available in English.
स्पष्टीकरण:
Classify each algorithm by the problem it solves. Kruskal, Prim and Boruvka are all greedy algorithms that find a minimum spanning tree (MST) of a weighted undirected graph. Floyd-Warshall solves a different problem: all-pairs shortest paths. Therefore, Floyd-Warshall is the odd one out.
मुख्य मुद्दा: Kruskal, Prim and Boruvka = MST algorithms; Floyd-Warshall = all-pairs shortest path.
सामान्य चूक: Assuming all four are 'graph algorithms' and therefore alike; the odd-one-out test needs a finer shared property (here, the specific problem solved).