Skip to content

Instantly share code, notes, and snippets.

@liuqinh2s liuqinh2s/BSNode.cpp
Last active Jun 11, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.