
数据结构
文章平均质量分 74
不当码农好不好
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据结构——顺序表的创建及功能函数
//SqList.h#ifndef _SQ_LIST_#define _SQ_LIST_#define MAX 100typedef struct _LinerList { int data[MAX]; int length;}SqList;#endif // !_SQ_LIST_//SqList_OP.h#ifndef _SQ_LIST_OP_#define _SQ...原创 2018-02-11 17:57:19 · 1339 阅读 · 0 评论 -
顺序栈的创建及操作
#ifndef _SQ_STACK_ #define _SQ_STACK_typedef struct { int *base; int *top; int stack_size;}SqStack;#endif // ! _SQ_STACK_#ifndef _STACKOP_#define _STACKOP_void Init_Stack(SqStack *s);...原创 2018-02-19 16:17:57 · 785 阅读 · 0 评论 -
多项式的加法实现
//多项式的加法实现#include <stdio.h>#include <stdlib.h>typedef struct _poly { int coef; int expo; struct _poly *next;}Poly;typedef struct _polist { Poly *head; Poly *tail;}PolyList;...原创 2018-02-20 15:17:43 · 559 阅读 · 0 评论 -
二叉树创建及功能函数
#ifndef _BI_NODE_#define _BI_NODE_typedef struct _binode { char data; struct _binode *lchild, *rchild;}BiNode;#endif // !_BI_NODE_#ifndef _TREE_OP_#define _TREE_OP_void createBiTree(BiNode...原创 2018-02-23 18:06:06 · 1424 阅读 · 1 评论