摘要: //BSTNode.h #include <iostream> using namespace std; class BSTNode { public: int Key; BSTNode *Left; BSTNode *Right; BSTNode *Parent; BSTNode *root; B 阅读全文
posted @ 2022-01-09 17:26 FredGrit 阅读(27) 评论(0) 推荐(0) 编辑
摘要: //TreeNode.h #include <iostream> using namespace std; class TreeNode { public: int val; TreeNode *left; TreeNode *right; TreeNode *NewTreeNode(int key 阅读全文
posted @ 2022-01-09 16:40 FredGrit 阅读(80) 评论(0) 推荐(0) 编辑