中国高校课件下载中心 》 教学资源 》 大学文库

复旦大学:《数据结构与算法设计 Data Structures and Algorithm》课程英文讲义_Chapter 03 Basic data structure - Elementary data structures

文档信息
资源类别:文库
文档格式:PDF
文档页数:80
文件大小:305.8KB
团购合买:点击进入团购
内容简介
3.1 Definition of data structure 3.2 Stacks 3.3 Queues 3.4 Linked lists 3.5 Trees 3.6 Postfix expression 3.7 Infix to postfix conversion
刷新页面文档预览

Data Structures and Algorithm Xiaoqing Zheng Zhengxq@fudan.edu.cn

Data Structures and Algorithm Xiaoqing Zheng zhengxq@fudan.edu.cn

What is data structure? a data structure is a way to store and organize data in order to facilitate access and modifications

What is data structure? A data structure is a way to store and organize data in order to facilitate access and modifications

Elementary data structures 口 Stacks a Queues a inked lists a Trees

Elementary data structures ‡ Stacks ‡ Queues ‡ Linked lists ‡ Trees

Stacks tops=0

Stacks S top[S] = 0

Stacks PUSH 15 1opS=1→15

Stacks 15 S top[S] = 1 PUSH 15

Stacks PUsh 6 top5]=2→6 15

Stacks 6 15 top[S] = 2 S PUSH 6

Stacks PUSH 2 top[s=3 2 6 15

Stacks 6 15 2 S top[S] = 3 PUSH 2

Stacks POP 2 top5]=2→6 15

Stacks 6 15 top[S] = 2 S POP 2

Stacks PUSh 5 p=3→[5 6 15

Stacks 6 15 5 S top[S] = 3 PUSH 5

Stacks Push 9 pS]=4→ 956 15

Stacks 6 15 9 5 S top[S] = 4 PUSH 9

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档