Last active
January 1, 2021 07:27
-
-
Save hsnice16/69ada0d0bd279d3c18036cae113aeee8 to your computer and use it in GitHub Desktop.
Node structure for Binary Tree (in c++)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// c++ | |
struct Node | |
{ | |
int key; // value in node | |
Node *left, *right; // stores left/right child | |
bool rightThread; // stores right Thread for node exists or not | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment