树
石老师与六老板
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Falling Leaves
Sample Input BDHPY CM GQ K * AC B $ Sample Output KGCBDHQMPY BAC #include <map> #include <queue> #include <cmath> #include <cstdio> #include <cstring> #incl...转载 2018-08-16 14:46:59 · 529 阅读 · 0 评论 -
字典树,没有完成
这里写代码片原创 2018-08-14 08:53:36 · 130 阅读 · 0 评论 -
平衡二叉树 非递归(未完成)
#include &lt;bits/stdc++.h&gt; typedef struct node { int data; struct node *l,*r,*par; }*tree; int length(tree root) { int cou=0,len1,len2; if(root) { len1=length(root-&gt;...原创 2018-08-11 09:55:40 · 291 阅读 · 0 评论 -
《平衡二叉树》
#include &lt;bits/stdc++.h&gt; typedef struct node { int data; struct node *l,*r; }*tree; int length(tree root) { int cou=0,len1,len2; if(root) { len1=length(root-&gt;l); ...原创 2018-08-10 20:36:40 · 213 阅读 · 0 评论 -
二叉排序树
include原创 2018-08-09 18:54:24 · 147 阅读 · 0 评论 -
数据结构实验之二叉树六:哈夫曼编码
#include&lt;stdio.h&gt; #include&lt;string.h&gt; #include&lt;stdlib.h&gt; #include&lt;algorithm&gt; #include&lt;malloc.h&gt; using namespace std; char tree[500];////字符串 int nu转载 2018-08-11 19:47:33 · 440 阅读 · 0 评论 -
数据结构实验之二叉树八:(中序后序)求二叉树的深度
include原创 2018-08-08 18:27:13 · 316 阅读 · 0 评论 -
数据结构实验之二叉树五:层序遍历
include原创 2018-08-08 15:36:27 · 137 阅读 · 0 评论 -
数据结构实验之二叉树四:(先序中序)还原二叉树
include原创 2018-08-08 14:24:28 · 284 阅读 · 0 评论
分享