随笔分类 - 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
阅读全文
摘要:数据结构实验之查找二:平衡二叉树 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
阅读全文

浙公网安备 33010602011771号