Aspire Faculty ID #12066 · Topic: CUET 2025 · Just now
CUET 2025

Which of the following is not an application of DFS?

Solution

  • Topological Sort → Can be done using DFS (by finishing times). ✅

  • Strongly Connected Components (SCCs) → Kosaraju’s and Tarjan’s algorithms use DFS. ✅

  • Solving Maze Problem → DFS is a valid approach to explore paths in a maze. ✅

  • Finding minimum distance in an unweighted graph → This requires Breadth First Search (BFS), not DFS, because BFS ensures the shortest path in an unweighted graph. ❌

Next 10 Questions — CUET 2025

Ascending by ID
Ask Your Question or Put Your Review.

loading...