which is faster linkedlist or arraylist
As a result ArrayList is slower than LinkedList and the latter is preferred in case you need to perform insert and delete operations in the middle of a collection.LinkedList worked 200 times faster than ArrayList when 0.1 million elements were inserted at the start of the collection.