Create a gist now

Instantly share code, notes, and snippets.

anonymous /.cpp
Created Jun 18, 2017

What would you like to do?
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