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

11 2010 档案

摘要: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)