摘要:
节点类:using System;using System.Collections.Generic;using System.Text;namespace DateStructrues.Lists.Node{ /// <summary> /// 节点类。 /// </summary> /// <typeparam name="T"></typeparam&... 阅读全文
posted @ 2008-11-24 17:48
日落无语
阅读(513)
评论(0)
推荐(0)
摘要:
namespaceBinaryTree { //BinaryTree的结点类 classNode { publicintData{get;set;} publicNodeLeftSubNode{get;set;} publicNodeRightSubNode{get;set;} //结点为自己追加子结点(与向左/向右追加结合,形成递归) publicvoidAppend(NodesubNode) ... 阅读全文
posted @ 2008-11-24 17:46
日落无语
阅读(279)
评论(0)
推荐(0)