SLIDE 1
Bag
- Problem: Need to maintain an unordered
collection of elements
- Operations:
– Insert – Remove – Contains
- Specific requirements:
CS261 Data Structures Bags, Queues and Stacks Bag Problem : Need - - PowerPoint PPT Presentation
CS261 Data Structures Bags, Queues and Stacks Bag Problem : Need to maintain an unordered collection of elements Operations : Insert Remove Contains Specific requirements : E.g., Time of insertion into bag is important