| 新闻 | 共有25项符合 二叉树 的查询结果, 以下是第 1 - 10 项。(搜索用时 8.11 秒) |
二叉树基本操作的程序实现 2008-4-23 3:35:30
Linux入门普通
| 图片头条| ChinaUnix| [19]
| 作者:nuciewth //Bintree.h#include#includetypedef struct Binnode{//二叉树结点结构体 char data; struct Binnode *lchild; struct Binnode *rchild; };typedef Binnode *Bintree ;typedef struct stack{ //二叉树结点栈 &... | |
| http://os.rdxx.com/Linux/LinuxRudiment/2008/4/23337469455.shtml - 33.00K 2008-4-25 16:21:48 加入收藏 |
二叉树的集合操作 2007-7-15
CGI技术普通
| 图片头条| [19]
| 以下程序源代码: #include <stdio.h>#include <stdlib.h>#include <conio.h>#define NULL 0#define DataType chartypedef struct BinTreeNode *PBinTreeNode;typedef PBinTreeNode *PBinTree; struct BinTreeNode{ DataType info;PBinTreeNode llink;PBinTre... | |
| http://web.rdxx.com/CGI/2008/1/141039666355.shtml - 9.44K 2008-4-25 16:21:55 加入收藏 |
数据结构与算法(C#)系列-二叉树 2006-2-11
C#普通
| 图片头条| [19]
| using System; using System.Collections; namespace DataStructure { /// <summary> /// BinaryTree 的摘要说明。 /// </summary> public clas... | |
| http://dev.rdxx.com/NET/CSharp/2008/1/119315429163.shtml - 23.07K 2008-4-25 16:25:18 加入收藏 |
二叉树的中序输出求救 2007-9-10 17:02:29
软考认证普通
| 图片头条| 考试大| [46]
| 这个程序的思路是自己输入数字,在输入的同时,已经帮你左右顺序排好了,即左子树的数字比右子树小,是个顺序二叉树,以输入0为结素,而后一中序遍历输出,但不知道为什么,在屏幕上打引的却是左子树最小的数字,而且一直输出,请看下面程序 #include <stdio.h> #include <stdlib.h> typedef struct no { int key; struct no *left,*right; }node,*PNOD; void inster(PNO... | |
| http://soft.rdxx.com/Educate/E-SQLE/2007/9/101725071026.shtml - 6.56K 2008-4-25 16:28:15 加入收藏 |
数据结构学习(C++)——二叉树 2006-12-16 8:25:55
软考认证普通
| 图片头条| 考试大| [200]
| 这些天参与了CSDN论坛的讨论,改变了我以前的一些看法。回头看我以前的东西,我虽对这本书很不满,但我还是按照它的安排在一点点的写;这样就导致了,我过多的在意书中的偏漏,我写的更多是说“这本书怎样”,而偏离了我写这些的初衷——给正在学习数据结构的人一些帮助。正像我在前面所说的,虽然现有的教科书都不是很合理,但如果仅仅是抱怨这点,那无异于泼妇骂街。虽然本人的水平连初级都够不上,但至少先从我做一点尝试,以后这门课的教授方法必将一点点趋于合理。 因此,后面不在按照书上的次序,将本着“实际应用(算法)决定数据... | |
| http://soft.rdxx.com/Educate/E-SQLE/2006-4/22/2158370642221583742087.shtml - 9.04K 2007-11-8 15:35:44 加入收藏 |
我用composite模式写的一个二叉树的例子 2004-11-28 12:12:00
设计模式普通
| 图片头条| Blog| 未知| [54]
| 我用composite模式写的一个二叉树的例子1,Component 是抽象组件Tree 和Leaf 继承Component private String name; //树或叶子的名称addChild(Component leftChild,Component rightChild); //给一个树上加上一个左孩子,一个右孩子getName(){return name;}getTreeInfo(){} //得到树或叶子的详细信息getLength(); //得到树的高度 2,Tree 二叉树,一个左孩子... | |
| http://dev.rdxx.com/Java/Pattern/2004-11/28/045819160.shtml - 9.20K 2008-4-25 17:28:37 加入收藏 |
C#线索二叉树 2004-5-7 12:12:00
C#普通
| 图片头条| Blog| 未知| [21]
| using System; namespace BiThrTree{ /// <summary> /// 定义结点类: /// </summary> class BTNode { public char data; public int ltag,rtag;//0表示线索,1表示结点 public BTNode lchild,rchild; } ... | |
| http://dev.rdxx.com/NET/CSharp/2004-5/7/104715622.shtml - 8.59K 2008-4-25 17:18:49 加入收藏 |
数据结构与算法(C#实现)系列---二叉树 2004-2-12 12:12:00
C#普通
| 图片头条| Blog| 未知| [64]
| 数据结构与算法(C#实现)系列---二叉树 using System; using System.Collections; namespace DataStruc... | |
| http://dev.rdxx.com/NET/CSharp/2004-2/12/104357856.shtml - 21.24K 2007-11-7 18:32:58 加入收藏 |
C#线索二叉树 2004-3-10 9:14:00
C#普通
| 图片头条| 互连网| 佚名| [27]
| using System; namespace BiThrTree{ /// <summary> /// 定义结点类: /// </summary> class BTNode { public char data; public int ltag,rtag;//0表示线索,1表示结点 public BTNode lchild,rchild; } ... | |
| http://dev.rdxx.com/NET/CSharp/2004-3/10/094821139.shtml - 8.61K 2008-4-25 16:42:15 加入收藏 |
数据结构与算法(C#实现)---二叉树 2004-1-24 9:14:00
C#普通
| 图片头条| 互连网| 佚名| [40]
| using System;using System.Collections;namespace DataStructure{ /// <summary> /// BinaryTree 的摘要说明。 /// </summary> public class BinaryTree:NaryTree ... | |
| http://dev.rdxx.com/NET/CSharp/2004-1/24/090028715.shtml - 9.52K 2008-9-9 22:45:50 加入收藏 |