Problem
1. Write a complete adapter class that implements the sequence ADT using a java.util.ArrayList object.
2. Implement the favorites list application using an array list instead of a list. Compare it experimentally to the list-based implementation.