随笔分类 -  ACM-数据结构-搜索树&平衡树

摘要:二叉搜索树的操作集 总代码: 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 5 typedef int ElementType; 6 typedef struct TNode *Position; 7 typedef Position B 阅读全文
posted @ 2020-11-27 11:53 swsyya 阅读(98) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-12-27 22:28 swsyya 阅读(2) 评论(0) 推荐(0)
摘要:数据结构实验之查找二:平衡二叉树 AC_Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 struct node{ 4 int data,d; 5 struct node *l,*r; 6 }; 7 8 int max(int x,int y){ 9 阅读全文
posted @ 2019-12-26 19:45 swsyya 阅读(113) 评论(0) 推荐(0)

回到顶部