Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What defines a weighted graph?
Think about graphs with costs.
What is the purpose of a weight function?
Consider what each edge's cost might represent.
What is a weighted graph?
Consider graph definitions.
Dijkstra's algorithm is used for which type of problems?
Recall the function of Dijkstra's algorithm.
In a weighted graph representing a city's transport network, calculate the shortest path from vertex A to vertex D, detailing all steps of Dijkstra's algorithm.
Keep track of distances and vertices processed.
Design a weighted graph to simulate a delivery context and articulate how Dijkstra's algorithm would find the optimal delivery route.
Model real delivery costs.
5 more questions in this section. Enroll free to practise them all.
Enroll free