KY124 二叉搜索树C++
摘要:
先把BST建立起,然后递归遍历判断树就好了。 #include<iostream> #include<string> using namespace std; struct node{ char data; struct node* left; struct node* right; }; type 阅读全文
posted @ 2024-01-24 21:19 神奇的萝卜丝 阅读(32) 评论(0) 推荐(0)
浙公网安备 33010602011771号