diff of arraylist and linkedlist