第02章基本数据结构StacksQueuesListsTrees课件.pptVIP

  • 2
  • 0
  • 约1.15万字
  • 约 30页
  • 2021-01-26 发布于四川
  • 举报

第02章基本数据结构StacksQueuesListsTrees课件.ppt

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Elementary Data Structures Stacks, Queues, Lists Amortized analysis Trees Elementary Data Structures * The Stack ADT (§2.1.1) The Stack ADT stores arbitrary objects Insertions and deletions follow the last-in first-out scheme Think of a spring-loaded plate dispenser Main stack operations: push(object): inserts an element object pop(): removes and returns the last inserted element Auxiliary stack operations: object top(): returns the last inserted element without removing it

文档评论(0)

1亿VIP精品文档

相关文档