数据结构
qq_41404223
我还没吃饱
展开
-
链式二叉树
链式二叉树 2018/11/4 周日 小雨 # include <stdio.h> # include <malloc.h> struct BTNode { char data; struct BTNode * pLchild; //p是指针 L是左 child是孩子 struct BTNode * pRchild; }; void PostTraverseBT...翻译 2018-11-04 14:45:14 · 88 阅读 · 0 评论 -
List-链表的增删改查
转载数据结构郝斌链表 # include <stdio.h> # include <malloc.h> # include <stdlib.h> typedef struct Node { int data; //数据域 struct Node * pNext; //指针域 }NODE, *PNODE; //NODE等价于struct Node PN...转载 2018-11-04 14:47:39 · 154 阅读 · 0 评论 -
数据结构实验一:改
改进后的线性表 #include <iostream> #include<stdlib.h> using namespace std; typedef struct { int L[100]; int length; } SList; void InitList_Sq(SList*,int ); //初始化线性表 void Out_Sq(SList...原创 2018-11-04 14:50:00 · 122 阅读 · 0 评论 -
链表的基本操作 增删改查 有序链表的并集差集
2018/11/17 21:41 链表的基本操作 增删改查 有序链表的并集差集 #include<iostream> using namespace std; typedef struct LNode { int data; struct LNode *next; }LNode,*Head; void Init_List(LNode *L) //...原创 2018-11-17 21:43:00 · 270 阅读 · 0 评论