Skip to content
RED SAG Skills
medium10 pts · first answer countsgraphsshortest-pathbfs

Shortest paths with 0 and 1 weights

Every edge costs either 0 or 1. How does 0-1 BFS get shortest paths in O(V + E)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions