how can we do this with dfs ??
the one way is cal pre order with the help of inodrer and post and match it with given pre oder is there any efficient way to do this>>
how can we do this with dfs ??
the one way is cal pre order with the help of inodrer and post and match it with given pre oder is there any efficient way to do this>>