Trace ArrayList operations step by step and predict the final state.
Trace this code...
12 questions. Remember: add(index, val) inserts (shifts right), remove(index) shifts left, set() replaces.