A alternativa correta é a letra b) I-B, II-C, III-A: - I - Minimum Spanning Tree (Prim) - A - Takes as input an undirected graph with weighted edges, sorts the edges by weight, and chooses the edges in a way that does not close cycles to solve the problem. - II - Shortest Path (Dijkstra) - C - Takes as input an undirected graph with weighted edges, basically uses breadth-first search choosing accumulated distances of smaller weight to solve the problem. - III - Minimum Spanning Tree (Kruskal) - A - Takes as input an undirected graph with weighted edges, sorts the edges by weight, and chooses the edges in a way that does not close cycles to solve the problem.
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar