Practice: Iterators

You can get starter code for Exercises 1.(33, 34, & 36) (pg 92 in the book) at ~tvandrun/Public/cs345/iterator-given. The methods are in a class impl.IteratorUtil. You can test your solutions to the three exercises using three JUnit testcases in the test package: A2ITest, LL2ITest, and TDA2ITest, respectively.

The solution can be found in ~tvandrun/Public/cs345/iterator-soln, in addition to being on pages 89-90 in the book.


Thomas VanDrunen
Last modified: Wed Mar 23 11:56:09 CDT 2016