You are viewing a single comment's thread. Return to all comments →
i think provided solution will not work if left subtree have a right nodes in such a way that all the nodes go past right subtree or vice versa.
Seems like cookies are disabled on this browser, please enable them to open this website
Tree : Top View
You are viewing a single comment's thread. Return to all comments →
i think provided solution will not work if left subtree have a right nodes in such a way that all the nodes go past right subtree or vice versa.