Module 5 · Dijkstra's Algorithm
Lesson 1 · The Grid as a Graph — Knowledge Checks
Name Date
Why can't the Manhattan algorithm route around a blocked intersection?
Answer Why?
On a 3×3 grid, how many neighbors does the interior node (1,1) have?
Answer Why?
After (1,1) is blocked, how many neighbors does (0,1) have?
Answer Why?
With (1,0) blocked, the shortest path from (0,0) to (2,0) is 4 steps, but the Manhattan distance is 2. What does that tell you?
Answer Why?
In computer science, what does the word 'graph' mean?
Answer Why?