PAT-A -1043 Is It a Binary Search Tree (25)【二叉查找树BST】
1043IsItaBinarySearchTree(25)模板题:树的创建(插入节点,新建节点)树的遍历(前中后遍历都是DFS)#includeusingnamespacestd;structnode{intdata;node*left,*right;};voidinsert(node*&root,intdata){if(root==NULL){root=newnode;root->data=da