Question 5 - Cheapest Insertion Algorithm
A Flamengo fan living in Campinas made a promise that if their team reached the final of the 2025 Copa Libertadores championship, they would visit all the stadiums where Flamengo played during the knockout stages. Now that Flamengo has indeed made it to the final against Palmeiras, the fan must fulfill this promise before returning home to Campinas to catch a flight to Lima for the final.
To plan the most efficient route, the fan created a simplified map in the form of a graph, where each node represents a stadium and each edge is weighted by the distance between stadiums. Using the Cheapest Insertion heuristic, they determined their optimal itinerary.
To plan the most efficient route, the fan created a simplified map in the form of a graph, where each node represents a stadium and each edge is weighted by the distance between stadiums. Using the Cheapest Insertion heuristic, they determined their optimal itinerary.
What was the total distance covered on this journey?
A) 4085 KmB) 4135 Km
C) 4140 Km
D) 5815 Km
E) None of the above
Original idea by: Eduardo Bouhid

Boa questão. Fiquei com ela, mas mudei um pouco a redação para simplificar, omitindo alguns detalhes não relevantes à solução. Também mexi no nome da competição, achei que fica melhor do jeito que coloquei.
ResponderExcluir