4 The network below shows some pathways at a school connecting different departments. The number on each edge represents the time taken, in minutes, to walk along that pathway.
Carol, the headteacher, wishes to walk from her office ( \(O\) ) to the Drama department (D) .
- Use Dijkstra's algorithm on the network to find the minimum walking time from \(O\) to \(D\).
- Write down the corresponding route.
- On another occasion, Carol needs to go from her office to the Business Studies department \(( B )\).
- Write down her minimum walking time.
- Write down the route corresponding to this minimum time.
\includegraphics[max width=\textwidth, alt={}, center]{3b7f04ff-e340-41ad-b50e-a02f94f02e8b-08_1499_1714_1208_153}