Algorithm: DFS (Graph)