Problem Session 28 – A Big Example

2021-11-29

Participation: https://docs.google.com/forms/d/e/1FAIpQLSdta3wexG307uMEwOOiWbaPT9ctmfHVHVeZYv1xZl2r2FtMKQ/viewform

Pre-class Tasks

This worked example will serve as a review of most of the topics we’ve seen in class so far, including interfaces, Collections classes, loops, recursion, testing, and memory diagrams.

Videos:

Choosing a Representation 1

Choosing a Representation 2

Some Examples

More Examples

A Filesystem Method

Trace 1

Trace 2

Code from videos:

Handout: