Let's test your knowledge. Click the correct answer from the options.
If we want to find the shortest path between any two nodes in an unweighted graph, which search should we use?
Click the option that best answers the question.
- BFS
- DFS
If we want to find the shortest path between any two nodes in an unweighted graph, which search should we use?