SELANGOR SET 1 2023 P1 Q11
MediumDiagram 3 shows an undirected and weighted graph for the location of six bus stops in a city. The weights are distances in km. Edges: P–Q 15, P–T 12, Q–T 9, Q–U 15, Q–R 20, U–R 14, S–T 6, S–U 11, S–R 25. If a bus departed from P and stopped at U, find the shortest distance travelled by the bus if the bus passes each bus stop only once.
Medium