ArrayList vs LinkedList | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

ArrayList vs LinkedList

I've been recently working on a txt to midi player and I had to rework my code in Java Lists. I used arraylist everywhere (trough List interface) but got some kind of error, something with immutability so i tried linkedlist and it worked. The question is, which one do you use in which situations ? I'm kinda just confused about these and I would love to know someone's elses experience with them :D Thanks for answering.

6th Oct 2017, 11:57 PM
Plasmoxy - avatar
0 Answers