dfs forest <2023-07-16 Sun 19:21:20> mahmood math a dfs forest is a subgraph of the input graph to the dfs algorithm, it gets built during the execution of dfs and it consists of disconnected dfs trees, we denote a dfs forest by .