树
hey超级巨星
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
线索二叉树
//线索化//线索二叉树typedef struct Threadnode{ int data; struct Threadnode* lchild; struct Threadnode* rchild; int ltag = 0; int rtag = 0;}*ThreadTree;//中序遍历线索化void InThreadTree(ThreadTree T, ThreadTree pre){ ThreadTree p; if (p) { InThreadTree(p-原创 2020-10-17 17:31:56 · 121 阅读 · 0 评论 -
二叉排序树基础代码与练习题
#include<stdio.h>#include<iostream>#include<stdlib.h>using namespace std;//数据结构typedef struct BSTnode{ int data; struct BSTnode* lchild; struct BSTnode* rchild;}*BSTree;//非递归查找BSTree BST_search(BSTree T,int key){ BSTree p =原创 2020-10-17 16:53:14 · 813 阅读 · 0 评论 -
数据结构二叉排序树(带有链队列的层次遍历)的软件实现
/*二叉排序树(带有链队列的层次遍历)@hey超级巨星*/#include<stdio.h>#include<stdlib.h>#include <iostream>using namespace std;#define ERROR 0#define OK 1typedef int Elemtype;typedef int Status;...原创 2020-02-28 15:49:57 · 222 阅读 · 0 评论 -
数据结构二叉树的链式存储先中后序遍历的代码软件实现
/*@hey超级巨星*/#include<stdio.h>#include<stdlib.h>#include<iostream>using namespace std;#define ERROR 0#define OK 1typedef int Elemtype;typedef int Status;//二叉树的链式存储typedef ...原创 2020-02-17 15:11:08 · 321 阅读 · 0 评论
分享