代码搜索:BinaryTree

找到约 1,360 项符合「BinaryTree」的源代码

代码结果 1,360
www.eeworm.com/read/348865/10862985

cpp stdafx.cpp

// stdafx.cpp : source file that includes just the standard includes // BinaryTree.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdaf
www.eeworm.com/read/273268/10921538

cpp ex7_15.cpp

//【例7.15】二叉排序树查找函数。递归慢,下面给出迭代的查找算法。 #include #include using namespace std; templateclass BinaryTree; templateclass Node{ Node *lchild,*rchild;
www.eeworm.com/read/273268/10921548

cpp ex7_13.cpp

//【例7.13】二叉树类模板(其中二叉树生成借用二叉排序树,见下节)。特别注意 //插入结点时,第二参数为指针的引用!否则不能建立树。为什么?请读者自己思考。 #include #include using namespace std; templateclass BinaryTree; template
www.eeworm.com/read/466324/7033783

java exercise17_6.java

public class Exercise17_6 { public static void main(String[] args) { BinaryTree tree = new BinaryTree(new String[] { "Tom", "George", "Jean", "Jane", "Kevin"}); tree.inorder();
www.eeworm.com/read/466355/7034372

cpp 哈夫曼编码.cpp

/* 前缀码 我们对每个字符规定一个0,1串作为其代码,并要求任一字符的代码都不是其它 字符代码的前缀。我们称这样的编码具有前缀性质。 */ /* 一般情况下,若C是编码字符集,则表示其最优前缀的二叉树中恰有|C|个叶子。每个叶子 对应于字符集中一个字符,且该二叉树恰有|C|-1个内部结点。 给定编码字符集C及其频率分布f,即C中任一字符c以频率f(c)在数据文件中出现。 C的一 ...
www.eeworm.com/read/461147/7232656

cpp main.cpp

#include using namespace std; #include"BinaryNode.h" #include"BinaryTree.h" #include template void print(Entry& ch) { cout
www.eeworm.com/read/459616/7270514

h btnode2.h

#ifndef BinaryTreeNode_ #define BinaryTreeNode_ template class BinaryTree; template class BSTree; template class DBSTree; template class Bina
www.eeworm.com/read/459616/7270580

h binary.h

// file binary.h #ifndef BinaryTree_ #define BinaryTree_ int _count; #include #include "lqueue.h" #include "btnode2.h" #include "xcept.h" template class BSTree; templ
www.eeworm.com/read/459616/7270707

h huffman.h

#ifndef Huffman_ #define Huffman_ template class Huffman { friend BinaryTree HuffmanTree(T [], int); public: operator T () const {return weight;} private: BinaryTr
www.eeworm.com/read/456187/7356184

java exercise17_6.java

public class Exercise17_6 { public static void main(String[] args) { BinaryTree tree = new BinaryTree(new String[] { "Tom", "George", "Jean", "Jane", "Kevin"}); tree.inorder();