You are viewing a single comment's thread. Return to all comments →
Is it possible to solve this problem without storing nodes of the tree on the basis of their discovery time i.e. directly while running dfs?
Tree Pruning
You are viewing a single comment's thread. Return to all comments →
Is it possible to solve this problem without storing nodes of the tree on the basis of their discovery time i.e. directly while running dfs?