100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary Ch01_Bags

Rating
-
Sold
-
Pages
17
Uploaded on
26-06-2021
Written in
2019/2020

Summary study book Data Structures and Algorithms in Java of Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser - ISBN: 9781118771334 (Ch01_Bags)

Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Course

Document information

Summarized whole book?
Yes
Uploaded on
June 26, 2021
Number of pages
17
Written in
2019/2020
Type
Summary

Subjects

Content preview

Data Structures and Abstractions with Java ™
5th Edition


Chapter 1

Bags



Copyright © 2019, 2015, 2012 Pearson Education, Inc. All Rights Reserved

,What Is an Iterator?
• An object that traverses a collection of data
• During iteration, each data item is considered once
– Possible to modify item as accessed
• Should implement as a distinct class that interacts with
the ADT




Copyright © 2019, 2015, 2012 Pearson Education, Inc. All Rights Reserved

, The ADT Bag
• Definition
– A finite collection of objects in no particular order
– Can contain duplicate items
• Possible behaviors
– Get number of items
– Check for empty
– Add, remove objects




Copyright © 2019, 2015, 2012 Pearson Education, Inc. All Rights Reserved
R130,19
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
SomaSan

Get to know the seller

Seller avatar
SomaSan IUG
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
4 year
Number of followers
0
Documents
4
Last sold
-

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions