Skip to content

Instantly share code, notes, and snippets.

/.cpp

Created June 18, 2017 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7a1a7671b39116e83916718c925fb166 to your computer and use it in GitHub Desktop.
Save anonymous/7a1a7671b39116e83916718c925fb166 to your computer and use it in GitHub Desktop.
else if (nodePtr->right == nullptr) {
tempPtr = nodePtr;
nodePtr = nodePtr->left;
delete tempPtr;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment