- 博客(6)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 单链表的基本操作(不带头结点)
Node.h #ifndef NODE_H #define NODE_H //不带头结点的单链表 typedef struct NODE { int value; struct NODE* next; }Node,*pNode; #endif // NODE_H List.h #ifndef LIST_H #define LIST_H #include "...
2018-08-10 10:54:01
778
原创 二叉树的基本操作
1._BiTree.h #ifndef _BITREE_H #define _BITREE_H #include <iostream> #include <stack> using namespace std; typedef char DataType; //链表结构的二叉树构造 typedef struct Node { DataType data...
2018-08-13 21:37:02
230
原创 循环栈的基本操作
_Queue.h #ifndef _QUEUE_H #define _QUEUE_H #include <stdio.h> #include <malloc.h> #define MAXSIZE 50 typedef int Elem; typedef struct _Queue { Elem QueueElem[MAXSIZE];//存储队列 ...
2018-08-10 15:22:48
2497
2
原创 顺序栈的基本操作(c++)
_stack.h #ifndef _STACK_H #define _STACK_H #define STACK_SIZE 50 #include &lt;iostream&gt; #include &lt;stdlib.h&gt; using namespace std; #define STACK_SIZE 50 typedef int Elemment; typedef stru...
2018-08-10 11:33:36
2707
原创 双循环链表的基本操作(不带头结点)
Node.h #ifndef NODE_H #define NODE_H #include &amp;lt;stdio.h&amp;gt; #include &amp;lt;stdlib.h&amp;gt; typedef struct NODE { int value; struct NODE *prior, *next; }Node, *DNode; #endif List.h ...
2018-08-10 11:25:18
1320
1
原创 链队列的基本操作(带头结点)
Node.h #ifndef NODE_H #define NODE_H #include &amp;lt;stdio.h&amp;gt; #include &amp;lt;malloc.h&amp;gt; typedef int QElement; //结点类型定义 typedef struct Node { int value; struct Node *next; }QueueNode; ...
2018-08-10 10:36:43
4575
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人