+ 1

Java->LinkedList missing description: WHAT and WHY?

it tells how to use a linked list, but it never tells you WHAT a linkedlist is, or WHY you would use it over an ArrayList.

8th Aug 2018, 1:38 PM
Andrew
1 Antwort
+ 2
when using linked list you aren't forced to give up a large portion of your memory. when using big arrays which strore millions of variable your computer gives up one large block, although when using linked list you can just have random memory locations given. you should learn more about memory to understand the difference
8th Aug 2018, 2:37 PM
Tomer Sim
Tomer Sim - avatar