摘要:
1115 Counting Nodes in a BST (30分) A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left sub 阅读全文
posted @ 2020-02-17 15:44
musecho
阅读(238)
评论(0)
推荐(0)
摘要:
更新:1115 [1115 Counting Nodes in a BST:LIU] build函数内,为root声明变量地址 ,不需要 ,这样是重新声明另一个变量。 C++ //插入节点 void insert(node &root,int d) { if(root==NULL) {//若某个节点 阅读全文
posted @ 2020-02-17 15:41
musecho
阅读(125)
评论(0)
推荐(0)

浙公网安备 33010602011771号