代码搜索:BinaryTree
找到约 1,360 项符合「BinaryTree」的源代码
代码结果 1,360
www.eeworm.com/read/384594/8857250
h head.h
#include
#include
#include
#include
using namespace std;
//定义二叉树节点类型
templateclass BinaryTree;
templatestruct BTreeNode
{
pr
www.eeworm.com/read/285034/8874877
java skewheap.java
// Implementation of priority queues/heaps using binary trees.
// (c) 1998, 2001 duane a. bailey
package structure;
import java.util.Iterator;
import java.util.Random;
/**
* An implementation of a p
www.eeworm.com/read/285034/8875140
java btlevelorderiterator.java
// Level-order iterator for binary trees.
// (c) 1998, 2001 duane a. bailey
package structure;
/**
* An iterator for traversing binary trees constructed from
* BinaryTrees. The iterator performs m
www.eeworm.com/read/283541/9010372
cpp btree2.cpp
//二叉树类的实现btree2.cpp
//根据字符数组a的二叉树广义表建立对应的二叉树存储结构
template
void BinaryTree::CreateBTree(char *a)
{BTreeNode *s[80];//s数组作为存储二叉树中根结点指针的栈
int top=-1; //top作为s栈的栈顶指针
root=NULL;
www.eeworm.com/read/183768/9140659
cpp btree.cpp
/**************************************************
* Essential C++ -- Stanley Lippman
* Addison-Wesley
* ISBN 0-201-48518-4
* homepage: www.objectwrite.com
* email: slippman@objectwrite.co
www.eeworm.com/read/380114/9162872
txt btree2m.txt
//二叉树类定义btree2.h
//定义二叉树结点类型
templateclass BinaryTree;
template struct BTreeNode {
private:
BTreeNode *left;//左子树指针
BTreeNode *right;//右子树指针
public:
T data;//数据
www.eeworm.com/read/380114/9162951
cpp btree2.cpp
//二叉树类的实现btree2.cpp
//根据字符数组a的二叉树广义表建立对应的二叉树存储结构
template
void BinaryTree::CreateBTree(char *a)
{BTreeNode *s[80];//s数组作为存储二叉树中根结点指针的栈
int top=-1; //top作为s栈的栈顶指针
root=NULL;
www.eeworm.com/read/183296/9171366
cpp btree2.cpp
//二叉树类的实现btree2.cpp
//根据字符数组a的二叉树广义表建立对应的二叉树存储结构
template
void BinaryTree::CreateBTree(char *a)
{BTreeNode *s[80];//s数组作为存储二叉树中根结点指针的栈
int top=-1; //top作为s栈的栈顶指针
root=NULL;
www.eeworm.com/read/378417/9231793
cpp p170.cpp
#define NULL 0
#define MAX(x1,x2) (x1>x2?x1:x2)
#include
template class BinaryTree;
template class BinTreeNode{
friend class BinaryTree;
pub
www.eeworm.com/read/378417/9231966
cpp page170.cpp
#define NULL 0
#define Max(x1,x2) (x1>x2?x1:x2)
#include
template class BinaryTree;
template class BinTreeNode{
friend class BinaryTree;
pub