(9.1.1)--ch9-1排序基本概念.pdf
《(9.1.1)--ch9-1排序基本概念.pdf》由会员分享,可在线阅读,更多相关《(9.1.1)--ch9-1排序基本概念.pdf(6页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 Data Structures and AlgorithmsBasic Concepts of Sorting Data Structures and Algorithms Data Structures and Algorithms29.1 The basic concept of sortingChapter 9 Internal sorting Sorting is the process of adjusting a set of unordered record sequence to an ordered record sequence。For example:adjust th
2、e following keyword adjust the following keyword sequence:sequence:52,49,80,36,14,58,61,23,97,7552,49,80,36,14,58,61,23,97,75To:To:14,23,36,49,52,58,61,75,80,9714,23,36,49,52,58,61,75,80,97 Data Structures and Algorithms Data Structures and Algorithms39.1 The basic concept of sortingChapter 9 Intern
3、al sorting Definition of sorting:Suppose a sequence of N records is R1,R2,,Rn The corresponding keyword sequence is K1,K2,,Kn These keywords can be compared with each other,that is,there is such a relationship between them:Kp1Kp2KpnAccording to this inherent relationship,the above record sequence is
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 9.1 ch9 排序 基本概念
限制150内