- 博客(5)
- 收藏
- 关注
原创 数据结构—栈(链式存储)
分为:顺序存储和链式存储链式存储:struct.h:#ifndef _STRUCT_H #define _STRUCT_H #include<stdio.h> #include<stdbool.h> #include<stdlib.h> typedef struct infonode { int a; struct infon...
2018-03-13 15:30:50 129
原创 数据结构 —栈(顺序存储)
分为:顺序存储和链式存储顺序存储:struct.h:#ifndef _STRUCT_H #define _STRUCT_H #include<stdio.h> #include<stdlib.h> #include<stdbool.h> #define SIZE 10 typedef struct infonode{ int a[SIZE]...
2018-03-13 15:20:40 153
原创 数据结构—单向链表
struct.h#ifndef _STRUCT_H #define _STRUCT_H #include<stdio.h> #include<stdlib.h> #include<stdbool.h> typedef struct infonode{ int data; struct infonode *next...
2018-03-14 09:36:42 123
原创 数据结构—队(链式存储)
链式存储:struct.h #ifndef _STURCT_H #define _STRUCT_H #include<stdio.h> #include<stdlib.h> #include<stdbool.h> typedef struct queuenode{ int data; struct queue...
2018-03-13 19:32:26 126
原创 数据结构—队(顺序存储)
顺序存储:struct.h#ifndef _STRUCT_H #define _STRUCT_H #include<stdio.h> #include<stdlib.h> #include<stdbool.h> #define SIZE 10 typedef struct infonode{ int a[SIZE]; int...
2018-03-13 19:27:13 246
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人