adding cs235

This commit is contained in:
dm
2016-04-06 20:46:10 -07:00
parent 8e52ce1982
commit cf99ec6565
178 changed files with 13079 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "br_node.h"
br_node::br_node(string data): data(data), color(0), parent(NULL), left(NULL), right(NULL) {}
string br_node::getWord() {
return data;
}
int br_node::getColor() {
return color;
}
RedBlackNodeInterface* br_node::getLeftChild() {
return left;
}
RedBlackNodeInterface* br_node::getRightChild() {
return right;
}