Graph Theory37 sections · 1633 units
Open in CourseQuiz: Monsters Pattern
Knowledge check
Check Your Understanding
Monsters: You escape a grid while monsters chase you. Both move cell per turn. How do you determine which cells are safe?
- A.Run BFS from your position only
- B.Use Dijkstra from your position
- C.Run BFS from all monsters simultaneously, then BFS from you
- D.Use DFS to find any path to the edge