Linked List VS Array List

Node
- The value and the pointer
- Like a hashmap (conceptually)
head = {
"value" = 4,
"next" = {
"value" = 4,
"next" = null
}
}
Code
public class LinkedList {
public LinkedList(int value) {
}
}
head = {
"value" = 4,
"next" = {
"value" = 4,
"next" = null
}
}
public class LinkedList {
public LinkedList(int value) {
}
}