数据结构(c/c++)
文章平均质量分 69
ziyeLoading
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwe
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c链表的实现
// linklist.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include //单链表的实现typedef int DataType;typedef struct node { DataType data; struct node原创 2013-10-26 22:18:38 · 501 阅读 · 0 评论 -
c双向链表的实现
// DBList.cpp : Defines the entry point for the console application.//#include "stdafx.h"//双向链表的实现//双向链表每个节点都带一个前驱指针和后续指针,分别为LLink,RLink;typedef int DataType;//双向链表数据结构typedef struct Node{原创 2013-10-28 22:14:26 · 634 阅读 · 0 评论 -
c链式栈的实现
// ListStack.cpp : Defines the entry point for the console application.//#include "stdafx.h"//链式栈的实现//链式栈栈顶指针在头节点,压栈都是压首元节点,相当与链表头插法,出栈也是出首元节点typedef int SElemType;typedef struct node{ SElemT原创 2013-11-01 00:01:07 · 464 阅读 · 0 评论 -
c实现顺序栈
// Stack.cpp : Defines the entry point for the console application.//#include "stdafx.h"typedef int SElemType;#define INC_SIZE 10#define INIT_SIZE 10////栈的原理与实现//栈(stack) 是只允许在表一端进行插入和删除的线性原创 2013-10-31 22:53:44 · 503 阅读 · 0 评论 -
C链式队列的实现
// LinkSQueue.cpp : Defines the entry point for the console application.//#include "stdafx.h"//c链式队列的实现//简单的基于单链表操作。多了两个指针。一个队头front,一个队尾指针reartypedef int QElemType;typedef struct node{ QEle原创 2013-11-04 23:56:01 · 552 阅读 · 0 评论 -
c循环队列简单实现
// circqueue.cpp : Defines the entry point for the console application.//#include "stdafx.h"//循环队列的实现(多采用静态分配实现)#define MAX_SIZE 20typedef int QElemType;typedef struct{ QElemType elem[MAX_SIZ原创 2013-11-04 22:18:15 · 571 阅读 · 0 评论
分享