Question: What is the space complexity of DFS using a recursive approach?
Options:
Correct Answer: O(V)
Solution:
The space complexity of DFS using recursion is O(V) due to the call stack used for recursion.