Skip to content
#

interview-prep

Here are 152 public repositories matching this topic...

mansisce
mansisce commented Oct 5, 2018

We are not handling the both left and right pointers when we delete the node. Update will be as mentioned below

// node only has right child
else if (!node.left) {
node.value = node.right.value
node.right = node.right.right
node.left = node.right.left;
}
// node only has left child
else if (!node.right

List of all the important links and resources to look before appearing for a Coding Interview/Job. These links are used by me during my preparation. There might be other links that could fit in so please feel free to contribute.open_hands

  • Updated Jun 30, 2020

Improve this page

Add a description, image, and links to the interview-prep topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the interview-prep topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.