搜索资源列表
1
- 中序遍历递归与非递归,很简单的代码,就是这么简单!-#include "stdio.h" #include"stdlib.h" #define MAXSIZE 20 typedef int datatype typedef struct Node { datatype data struct Node*lchild struct Node*rchild }Btnode,*Btree typedef struct {
zhongxudiguiyufeidigui
- 中序递归与非递归,很简单的代码,请放心下载,无毒。-#include "stdio.h" #include"stdlib.h" #define MAXSIZE 20 typedef int datatype typedef struct Node { datatype data struct Node*lchild struct Node*rchild }Btnode,*Btree typedef struct {
BTree-and-BPlusTree-Realize-master
- B+树、b-树的代码实现,采用了C/C++来写 # 文件说明: 1.Tree.h:B树和B+树的通用接口,虚基类。BTree和BPlusTree都继承它,只有BPlusTree才有linear函数 2.BTree.h,BTree.cpp:B树的声明、实现代码 3.BPlusTree.h,BPlusTree.cpp:B+树的声明、实现代码,注:大多数的函数,B和B+都是一样的,但是我还是分开写了,比如输出函数 4.Context.h:策略方法的实现 5.mian.cpp:使用用例,因为