树
Shellin_F
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
哈夫曼树的编码与译码(优化)
上次写的哈夫曼,这星期需要写哈夫曼的课程设计,就将之前写的哈夫曼树先优化了一下。#include<stdio.h> #include<stdlib.h> #include<string.h> int n; int m; char h[100];//输入的字符串 char whole_str[100]; struct tree//树的结构 { char a; int weight;原创 2015-12-28 10:16:24 · 921 阅读 · 0 评论 -
欢迎使用优快云-markdown编辑器
我的第一篇博客 哈夫曼树的建立与编码#include<stdio.h> #include<stdlib.h> #include<string.h> int n; int m; struct tree { int weight; int parent; int Lchild; int Rchild; }ht[]; struct coder { int data原创 2015-11-28 21:16:35 · 483 阅读 · 0 评论 -
文章标题
哈夫曼树的编码与译码; 任意输入一段字符串对其进行编码与译码。原创 2015-12-07 11:20:53 · 454 阅读 · 0 评论 -
哈夫曼树的编码与译码
哈夫曼树的编码与译码; 任意输入一段字符串对其进行编码与译码。原创 2015-12-07 11:13:01 · 1775 阅读 · 0 评论 -
二叉树的递归建立
真的 ,啥都不记得了 ,数怎么建立也不记得了。 递归建立: #include using namespace std; typedef struct node { struct node *leftChild; struct node *rightChild; char data; }BiTreeNode, *BiTree;原创 2017-04-18 22:48:27 · 660 阅读 · 0 评论
分享