资源列表
[数据结构常用算法] jiafen
说明:求一棵加分值最高的二叉树,其中序遍历序列为给出的节点编号顺序,如1,2,3,4,5...n,求出的树加分值最高-The highest score for an increase in the binary tree, which traversal sequence for the given node number sequence, such as 1,2,3,4,5 ... n, obtained the highest score of the tree increases<yyx> 在 2025-06-14 上传 | 大小:4kb | 下载:0
[数据结构常用算法] hfmcpp
说明:赫夫曼编码本程序实现了使用赫夫曼编码压缩数据;输入一串字符串sourceCode——为方便理解,暂时要求字符串只包含大写字母和空格,如果你愿意, 很容易就可以推广到所有的字符——计算出字符串中各个字母的权重,然后对其进行赫夫曼编码,输出赫夫曼树。 将赫夫曼树的叶子结点存储到有序二叉树中,输出原字符串经压缩后得到的用 0 和 1 表示的新字符串destCode; 然后利用赫夫曼树将字符串destCode进行译码,得到目标字符串objCode,比较objCode和sourceCod<xhh> 在 2025-06-14 上传 | 大小:4kb | 下载:0
[数据结构常用算法] FileProgramming
说明:c写的操纵文件的几个小程序,包括文件连接,文件复制,文件加密-c written to manipulate the document in several smaller procedures, including documentation to connect, file copy, file encryption<liyang> 在 2025-06-14 上传 | 大小:4kb | 下载:0