Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@liuqinh2s
Last active June 11, 2016 03:18
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 liuqinh2s/f720ad93ddb885c1a7cbb4b10f4a827b to your computer and use it in GitHub Desktop.
Save liuqinh2s/f720ad93ddb885c1a7cbb4b10f4a827b to your computer and use it in GitHub Desktop.
DataStructure
template <class T>
class BSTNode{
public:
T value;
BSTNode *left;
BSTNode *right;
BSTNode(T value1, BSTNode *l, BSTNode *r):
value(value1),left(l),right(r) {}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment