博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  数据结构和算法

摘要:Trees are a very common data structure in computer science. A tree is anonlinear data structure that is used to store data in a hierarchical manner.We examine one primary tree structure in this chapter, the binary tree, alongwith one implementation of the binary tree, the binary search tree. Binaryt 阅读全文

posted @ 2010-11-29 17:21 淡如水wp 阅读(1448) 评论(0) 推荐(0)

摘要:Searching for data is a fundamental computer programming task and onethat has been studied for many years. This chapter looks at just one aspect ofthe search problem—searching for a given value in a list (array).There are two fundamental ways to search for data in a list: the sequentialsearch and th 阅读全文

posted @ 2010-11-28 02:52 淡如水wp 阅读(866) 评论(0) 推荐(0)

摘要:The two most common operations performed on data stored in a computerare sorting and searching. This has been true since the beginning of the computingindustry, which means that sorting and searching are also two of themost studied operations in computer science. Many of the data structures discusse 阅读全文

posted @ 2010-11-24 20:24 淡如水wp 阅读(793) 评论(0) 推荐(0)

摘要:Arrays and ArrayListsThe array is the most common data structure, present in nearly all programminglanguages. Using an array in C# involves creating an array object ofSystem.Array type, the abstract base type for all arrays. The Array class providesa set of methods for performing tasks such as sorti 阅读全文

posted @ 2010-07-03 13:52 淡如水wp 阅读(1170) 评论(0) 推荐(0)

摘要:An Introduction to Collections, Generics,and the Timing Class集合,泛型,时间类的介绍This book discusses the development and implementation of data structuresand algorithms using C#. The data structures we use in this book are foundin the .NET Framework class library System.Collections. In this chapter, wedevel 阅读全文

posted @ 2010-06-27 23:41 淡如水wp 阅读(805) 评论(0) 推荐(0)

摘要:The study of data structures and algorithms is critical to the developmentof the professional programmer. There are many, many books written ondata structures and algorithms, but these books are usually written as collegetextbooks and are written using the programming languages typically taughtin co 阅读全文

posted @ 2010-06-18 00:41 淡如水wp 阅读(575) 评论(0) 推荐(0)

摘要:1--介绍 集合,泛型和时间类2--数组,泛型数组3--基础排序4--基础查找5--栈和队列6--bit数组类7--字符串,String类,StringBuild类8--模式匹配和文字处理9--DictionaryBase和SortedList10-Hashing和HashTable类11-链表12-二叉树和二叉搜索树13-sets14-高级排序15-高级查找16-图17-高级算法 阅读全文

posted @ 2010-06-18 00:02 淡如水wp 阅读(311) 评论(0) 推荐(0)