Concept:
Depth First Search (DFS) explores as far as possible along a branch before backtracking.
Step 1: Understand given condition.
• Start at root
• Explore deep
• Backtrack on dead end
Step 2: Compare with algorithms.
• BFS → level-wise traversal
• DFS → depth-wise traversal with backtracking ✔
Step 3: Conclusion.
\[
\boxed{(2)\ \text{Depth First Search}}
\]