- 博客(4)
- 收藏
- 关注
原创 二叉查找树(AVL形式)
//二叉AVL查找树 #include "stdio.h" #include "stdlib.h" #include "malloc.h" #define ElementType int struct AvlNode; typedef struct AvlNode *AvlTree; typedef struct AvlNode *Position; //AvlTree means fin
2014-03-22 15:46:28 435
原创 二叉查找树
//二叉查找树 #include "stdio.h" #include "stdlib.h" #define Type int struct TreeNode; typedef struct TreeNode *SearchTree; typedef struct TreeNode *Position; struct TreeNode { Type Element; SearchTr
2014-03-20 16:38:23 376
原创 队列例程
#include "stdio.h" #include "stdlib.h" #define Element int struct QueueRecord; typedef struct QueueRecord *Queue; int IsEmpty(Queue Q); int Isfull(Queue Q); Queue creat(int Maxsize); void DisposeQ
2014-03-19 15:20:17 578
原创 栈例程
#include "stdio.h" #include "stdlib.h" #define Element int struct StackRecord; typedef struct StackRecord *Stack; int IsEmpty(Stack S); int IsFull(Stack S); Stack CreateStack(int MaxElements); void D
2014-03-18 22:16:13 531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人