摘要: #include #include struct BSTNode{ int v; struct BSTNode *left,*right;};struct BSTNode *root=NULL,*head=NULL,*tail=NULL;struct BSTNode* createNode(int data){ struct BSTNode *newNode; newNode=(struct BSTNode*)malloc(sizeof(struct BSTNode)); newNode->v=data; newNode->left=NULL; newNode... 阅读全文
posted @ 2014-01-04 17:42 丸子No1 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 struct BSTNode{ 4 int v; 5 struct BSTNode *left,*right; 6 }; 7 8 struct BSTNode *root=NULL; 9 10 struct BSTNode* createNode(int data){11 struct BSTNode *newNode;12 newNode=(struct BSTNode*)malloc(sizeof(struct BSTNode));13 newNode->v=data;14 newNode->left=NULL;15 newNod 阅读全文
posted @ 2014-01-04 15:26 丸子No1 阅读(207) 评论(0) 推荐(0) 编辑