数据结构
悟浮生
有志者事竟成,破釜沉舟,百二秦关终属楚;
苦心人天不负,卧薪尝胆,三千越甲可吞吴。
展开
-
《数据结构》(C语言版)——线性表的动态分配顺序存储结构
//P21 线性表的 顺序表示和实现//函数结果状态代码#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2//Status是函数的类型,其值是函数结果状态代码typedef int Status;//用到的库文件#include /原创 2018-01-26 17:25:23 · 8109 阅读 · 4 评论 -
《数据结构》(C语言版)——循环队列――――队列的顺序存储结构
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-03-20 17:38:18 · 881 阅读 · 0 评论 -
《数据结构》(C语言版)——单链队列――――队列的链式存储结构
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-03-20 16:39:23 · 833 阅读 · 0 评论 -
《数据结构》(C语言版)——栈的应用举例-表达式求值
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-03-19 22:24:40 · 7179 阅读 · 3 评论 -
《数据结构》(C语言版)——栈的链式表示
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-02-24 11:24:17 · 457 阅读 · 0 评论 -
《数据结构》(C语言版)——线性表的静态单链表存储结构
/* run this program using the console pauser or add your own getch, system("pause") or input loop *///用到的库文件#include <stdio.h> //printf();scanf()#include <stdlib.h> //exit()#include &...原创 2018-02-20 23:15:46 · 594 阅读 · 0 评论 -
《数据结构》(C语言版)——栈的顺序存储表示
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-02-18 22:27:14 · 593 阅读 · 0 评论 -
《数据结构》(C语言版)——栈的应用举例-迷宫求解
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-03-07 22:14:32 · 1184 阅读 · 0 评论 -
《数据结构》(C语言版)——栈的应用举例
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-03-07 17:27:16 · 4045 阅读 · 0 评论 -
《数据结构》(C语言版)——双向链表
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-02-12 16:25:41 · 402 阅读 · 0 评论 -
《数据结构》(C语言版)——线性表的单链表存储结构
/* run this program using the console pauser or add your own getch, system("pause") or input loop *///用到的库文件#include //printf() ;scanf()#include //exit()#include //malloc()#include //srand((u原创 2018-01-26 17:19:53 · 2716 阅读 · 0 评论 -
《数据结构》(C语言版)——循环链表
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf();scanf()#include <stdlib.h> // exit()#includ...原创 2018-02-09 14:51:25 · 389 阅读 · 0 评论 -
《数据结构》(C语言版)——串的定长顺序存储表示
/* run this program using the console pauser or add your own getch, system("pause") or input loop */// 用到的库文件#include <stdio.h> // printf(); scanf()#include <stdlib.h> // exit()#incl...原创 2018-04-05 17:16:34 · 2344 阅读 · 0 评论