![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
亓天大圣是猴子吗
你只管努力就好...
展开
-
单链表
#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>using namespace std; #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2t原创 2017-09-20 21:38:41 · 191 阅读 · 0 评论 -
线性表
线性表的操作建立新的线性表给线性表赋初始值删除表中某个元素将某个元素插入表中将两个顺序表进行升序合并 可运行代码如下:/* Name: 线性表 Copyright: Author: Anderson Date: 04/09/17 20:48 Description: linear_list; */#include <cstdio>#i原创 2017-09-12 21:11:20 · 251 阅读 · 0 评论 -
栈
#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>using namespace std;#define STACK_INIT_SIZE 100#define STACKINCREMENT 10#define TRUE 1#define FALSE 0#def原创 2017-09-20 21:40:47 · 284 阅读 · 0 评论 -
二叉树
#include <cstdio>#include <cstring>#include <algorithm>#include <iostream>#include <malloc.h>#include <stack>using namespace std;typedef struct BiTNode{ char data; struct BiTNode *L,*R原创 2017-10-22 16:05:21 · 160 阅读 · 0 评论 -
haffmantree
#include <cstdio>#include <iostream>#include <malloc.h>#include <cstring>using namespace std;#define INF 0xfffffftypedef struct{ unsigned int weight; unsigned int parent,lchild,rchild;}原创 2017-10-25 21:22:09 · 220 阅读 · 0 评论