10
20
30
40
[0][1][2][3]
Concept
▸1node = { value, next } // next ARE the structure2walk: cur = cur.next // access is O(n)3splice: a.next = b // insert/delete is O(1)4reverse: flip the arrows5// tools: slow/fast pointers, dummy head
state
- nodevalue + next