Data Structures and Algorithms Using Python
Data Structures and Algorithms Using Python 数据结构的python实现,英文版 部分目录如下: Chapter 1: Abstract Data Types 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1.1 Abstractions . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1.2 Abstract Data Types . . . . . . . . . . . . . . . . . . . . . . 3 1.1.3 Data Structures . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1.4 General Definitions . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 The Date Abstract Data Type . . . . . . . . . . . . . . . . . . . . . 7 1.2.1 Defining the ADT . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2.2 Using the ADT . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2.3 Preconditions and Postconditions . . . . . . . . . . . . . . . 9 1.2.4 Implementing the ADT . . . . . . . . . . . . . . . . . . . . . 10 1.3 Bags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.3.1 The Bag Abstract Data Type . . . . . . . . . . . . . . . . . 15 1.3.2 Selecting a Data Structure . . . . . . . . . . . . . . . . . . 17 1.3.3 List-Based Implementation . . . . . . . . . . . . . . . . . . 19 1.4 Iterators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.4.1 Designing an Iterator . . . . . . . . . . . . . . . . . . . . . 21 1.4.2 Using Iterators . . . . . . . . . . . . . . . . . . . . . . . . . 22 1.5 Application: Student Records . . . . . . . . . . . . . . . . . . . . . 23 1.5.1 Designing a Solution . . . . . . . . . . . . . . . . . . . . . . 23 1.5.2 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . 26 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Programming Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
- 粉丝: 16
- 资源: 3
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助