Algorithms Homework 6 Answers
Algorithms Homework 6 Answers
Unit 12 Algorithms
Answers
1. The stations in an underground network are represented as a graph, with nodes
representing the stations and weighted edges representing the connections between them.
The weights represent the time taken to travel between two stations.
(a) Show how the graph may be represented as an adjacency list. [7]
1
Homework 6 Optimisation algorithms
Unit 12 Algorithms