Linked List Manipulation Cheat Sheet
You move a few pointers down the list and change each node's next pointer. You don't build a new list.

Unlock the full sheet below.
When to use it
- You need to reverse, reorder, or remove nodes without building a new list.
- You can only move from a node to the next one. You can't jump to an index.
- Copying the nodes into a Python list costs O(n) space. This pattern only needs a few pointers.
- Add Two Pointers when you need a node by its position, like the nth from the end or the middle.
What's on the sheet
The sheet has a code template you can reuse for every Linked List Manipulation problem. It's split into four steps so you can see which part changes from problem to problem. It also shows how to spot the pattern, how fast it runs, the mistakes people often make and the variations you'll see in interviews.
How to get it
You'll need full access for this one. You unlock it by solving 3 of this pattern's problems. Only 2 of those problems are free.
Preview the Two Pointers sample to see a finished sheet first.