摘要: 步骤: 1. 将队列元素依次出队列并依次Push进栈. 2. 将栈中的元素依次Pop出栈并依次进队列. Bool InvertLinkedQueue_Dynamic(pLinkedQueue pQ){ pDynamicStack pDS = (pDynamicStack)malloc(sizeof( 阅读全文
posted @ 2017-01-04 21:35 Technology小白 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:30 Technology小白 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:28 Technology小白 阅读(683) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:26 Technology小白 阅读(1160) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:25 Technology小白 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:23 Technology小白 阅读(995) 评论(0) 推荐(0) 编辑