ArrayList Implementation Animation

Usage: Enter a value and click the Search, Insert, and Delete button to search, insert, or delete the value from the list. Enter a value and an index and then click the Insert button to insert the value in the specified index. Enter an index and then click the Delete button to delete the value in the specified index. Click the TrimToSize button to make the capacity the same as the size.

The figure illustrates an interactive showing how array lists and linked lists work.