CS 240: Algorithms and Data Structures
James Madison University, Spring 2023

Practicing Iterator/Iterable Implementation

Instructions

Download the the following four files:

Take a few minutes to read over the file BackScanner.java to make sure you understand how it works. Test it using the provided driver.

Complete and test the other two iterator classes according to the provided JavaDoc. You can check your implementations by updating the driver and running the following unit tests:

Submitting

There is nothing to submit.