Step 1: DFS Applications.
- **Topological Sort**: DFS is used to generate a topological ordering of vertices in a Directed Acyclic Graph (DAG).
- **Determining Strongly Connected Components (SCCs)**: DFS can be used in algorithms like Kosaraju's algorithm to identify strongly connected components in a graph.
- **Solving Maze Problem**: DFS is often applied to explore a maze by visiting each possible path and backtracking when necessary.
Step 2: Incorrect Application.
- **Finding minimum distance to a node in an unweighted graph optimally**: This task is usually solved using **Breadth-First Search (BFS)**, not DFS. BFS explores the graph level by level, ensuring the shortest path in an unweighted graph.
Step 3: Conclusion.
The correct answer is **(3) Finding minimum distance to a node in an unweighted graph optimally**.
Match List-I with List-II.
| List-I | List-II |
|---|---|
| A. AND | I. Output 1 only if both inputs are 1 |
| B. OR | II. Output 1 if any input is 1 |
| C. NAND | III. Output 0 only if both inputs are 1 |
| D. NOR | IV. Output 1 only if both inputs are 0 |
Choose the correct answer from the options given below:
Match List-I with List-II:
| List-I (Personalities/Public Figures) | List-II (Bodies/Institutions) | ||
|---|---|---|---|
| (A) | Sanjay Malhotra | (I) | National Human Rights Commission |
| (B) | Om Prakash Rawat | (IV) | Election Commission of India |
| (C) | Justice V. Ramasubramanian | (III) | Supreme Court of India |
| (D) | Justice Deepak Misra | (II) | Reserve Bank of India |