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