We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Grammatical error. " - Deletes the current node with the subtree rooted in it and sets the current node as a parent of just deleted node."
It should be " - Deletes the current node with the subtree rooted in it and sets the current node TO THE parent of just deleted node;" or " - Deletes the current node with the subtree rooted in it and sets the a parent of just deleted node as the current node."
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Tree manager
You are viewing a single comment's thread. Return to all comments →
Grammatical error. " - Deletes the current node with the subtree rooted in it and sets the current node as a parent of just deleted node."
It should be " - Deletes the current node with the subtree rooted in it and sets the current node TO THE parent of just deleted node;" or " - Deletes the current node with the subtree rooted in it and sets the a parent of just deleted node as the current node."