The Solution class inherits ArrayList. Properly override the iterator method in the Solution class. Write your own CircularIterator class inside the Solution class. It will be an iterator for the Solution list. The iterator must move circularly through all of the elements.
You must be signed in to leave a comment
This page doesn't have any comments yet