diff --git a/graphs_trees/graph_dfs/dfs_solution.ipynb b/graphs_trees/graph_dfs/dfs_solution.ipynb index 7fbb3e3..c2228dd 100644 --- a/graphs_trees/graph_dfs/dfs_solution.ipynb +++ b/graphs_trees/graph_dfs/dfs_solution.ipynb @@ -81,7 +81,7 @@ "\n", "Complexity:\n", "* Time: O(V + E), where V = number of vertices and E = number of edges\n", - "* Space: O(V + E)" + "* Space: O(V), for the recursion depth" ] }, {