- 博客(14)
- 收藏
- 关注
原创 国嵌数据结构学习--队列的特别实现--两个栈
#include <stdio.h>#include <stdlib.h>#include "SQueue.h"//准备两个栈实现队列 //当有新元素入队时,将其压入inStack中,当需要出队时,//当outStack为空时,将inStack中的元素逐一弹出并压入outStack中,//将outStack栈顶元素弹出;当outStack不为空时,直接将out...
2018-08-14 10:56:15 134
原创 国嵌数据结构学习--队列的链式实现优化
#include <stdio.h>#include <stdlib.h>#include "LinkQueue.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, cha...
2018-08-14 09:49:50 136
原创 数据结构---队列的顺序实现的优化实现
#include <stdio.h>#include <stdlib.h>#include "SeqQueue.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char ...
2018-08-13 13:04:22 136
原创 数据结构--队列的链式实现
#include <stdio.h>#include <stdlib.h>#include "LinkQueue.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char...
2018-08-13 12:12:55 127
原创 数据结构--队列的顺序结构
#include <stdio.h>#include <stdlib.h>#include "SeqQueue.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char ...
2018-08-13 11:41:49 220
原创 数据结构--栈的链式结构
#include <stdio.h>#include <stdlib.h>#include "LinkStack.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char...
2018-08-13 10:57:42 174
原创 数据结构---顺序栈的实现
#include <stdio.h>#include <stdlib.h>#include "SeqStack.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char ...
2018-08-13 10:24:47 162
原创 数据结构--循环链表
#include <stdio.h>#include <stdlib.h>#include "CircleList.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */typedef struct value{...
2018-08-11 22:32:58 131
原创 数据结构---双向链表的实现
#include <stdio.h>#include <stdlib.h>#include "DLinkList.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */struct value{ DLinkLis...
2018-08-11 16:59:40 668
原创 数据结构--单链表的实现
#include <stdio.h>#include <stdlib.h>#include "LinkList.h"/* run this program using the console pauser or add your own getch, system("pause") or input loop */struct value{ LinkListN...
2018-08-10 17:25:44 249
原创 数据结构--顺序表的实现
#include <stdio.h>#include <stdlib.h>#include "SeqList.h" /* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char ...
2018-08-10 16:00:04 254
原创 找出数组中出现次数最多的数字
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */void search(int array[],int len){ int copy_a...
2018-08-10 10:07:02 3255
原创 数据结构--递归学习
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */void Reverse(char *str){ if((str==NULL)||(*s...
2018-08-10 09:44:36 204
原创 递归--回溯-八皇后问题--国嵌数据结构学习笔记
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */typedef struct{ int posi; int posj;}...
2018-08-09 20:38:04 141
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人