Wrote runtime comparison for ArrayList and LinkedList.