Linked List 노드들은, reference field 로 연결된 독립 객체들이다.
public class ListNode {
int val;
ListNode next;
ListNode(int x) { val = x; }
}
보통 첫번째 노드(head)를 써서 list 전체를 나타낸다.
Linked List 노드 = 값 + (다음 노드로 연결되는) reference field
class DoublyListNode {
int val;
DoublyListNode next, prev;
DoublyListNode(int x) {val = x;}
}

배열: 인덱스로 요소에 자주 접근해야 할 때
Linked List: 노드를 자주 삽입/삭제해야 할 때