PubMatic Interview Question

1. Explain dfs on graph