摘要: 节点类: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 日落无语 阅读(508) 评论(0) 推荐(0) 编辑
摘要: namespaceBinaryTree { //BinaryTree的结点类 classNode { publicintData{get;set;} publicNodeLeftSubNode{get;set;} publicNodeRightSubNode{get;set;} //结点为自己追加子结点(与向左/向右追加结合,形成递归) publicvoidAppend(NodesubNode) ... 阅读全文
posted @ 2008-11-24 17:46 日落无语 阅读(272) 评论(0) 推荐(0) 编辑