会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一页孤舟
学海无涯
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
2
3
下一页
2009年3月14日
红黑树
摘要: namespace BlackRedTree { class Program { static void Main(string[] args) { BlackRedTree tree = new BlackRedTree(); tree.Insert(7); ...
阅读全文
posted @ 2009-03-14 08:31 LinLi
阅读(216)
评论(0)
推荐(0)
哈夫曼树
摘要: namespace Hafman { class Program { static void Main(string[] args) { int[] list ={ 2, 4, 1 }; HafmanTree tree = new HafmanTree(list); // tree...
阅读全文
posted @ 2009-03-14 08:30 LinLi
阅读(175)
评论(0)
推荐(0)
广义表表达的树
摘要: namespace Tree { class Program { static void Main(string[] args) { BinaryTree tree = new BinaryTree(); tree.InitialTree(@"a(b,c(d,e))"); ...
阅读全文
posted @ 2009-03-14 08:29 LinLi
阅读(434)
评论(0)
推荐(0)
二叉平衡树
摘要: namespace BalanceTree { class Program { static void Main(string[] args) { BalanceTree tree = new BalanceTree(); Random r = new Random(); C...
阅读全文
posted @ 2009-03-14 08:28 LinLi
阅读(285)
评论(0)
推荐(0)
二叉排序树
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->namespace NewTree { class Program { static void Main(string[] args) ...
阅读全文
posted @ 2009-03-14 08:27 LinLi
阅读(170)
评论(0)
推荐(0)
集合的实现
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->namespace Collections { public class LinkNode { object element; pub...
阅读全文
posted @ 2009-03-14 08:24 LinLi
阅读(153)
评论(0)
推荐(0)
2009年2月1日
我的第一个测试
摘要: 测试windows live!
阅读全文
posted @ 2009-02-01 22:00 LinLi
阅读(118)
评论(0)
推荐(0)
2008年12月14日
二叉平衡树的c#实现
摘要: Code System; using System.Collections.Generic; using System.Text; namespace BalanceTree { class Program { static void Main(string[] args) { BalanceTree ...
阅读全文
posted @ 2008-12-14 09:18 LinLi
阅读(403)
评论(2)
推荐(0)
2008年11月22日
c#数据结构之集合的实现(数组及链表两种实现)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->集合的概念集合是由一些确定的、彼此不同的成员或者元素构成的一个整体。如果将紧密相关的数据组合到一个集合中,则能够更有效地处理这些紧密相关的数据。代替编写不同的代码来处理每一单独的对象,您可以使用...
阅读全文
posted @ 2008-11-22 09:13 LinLi
阅读(401)
评论(0)
推荐(0)
2008年10月27日
高级排序算法之-归并排序(MERGESORT)
摘要: 归并排序(THE MERGESORT ALGORITHM) (在合并时,在每个数组后面设置了一个哨兵) Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1static void MegerSort(int[] a, int p...
阅读全文
posted @ 2008-10-27 10:20 LinLi
阅读(381)
评论(1)
推荐(0)
上一页
1
2
3
下一页