1. భిన్నమైనదాన్ని కనుగొనండి: క్రుస్కల్, ఫ్లాయిడ్-వార్షల్, ప్రిమ్, బోరువ్కా.
సమాధానం చూపించండి
సరైన సమాధానం: B. ఫ్లాయిడ్-వార్షల్
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).