Solved Q7 After Generating The Dfs Tree Using Stack Method

Solved Q7 After Generating The Dfs Tree Using Stack Method