Pointers trip everyone up at first. If you've been staring at a nil dereference
or a list that mysteriously lost its tail, you're not behind — you're exactly where
every programmer has been.
Here's the mindset that helps:
prev.Next,
save what you need first (nxt := prev.Next). Lost references are the #1 cause
of linked-list bugs.for node != nil loop always terminates if you
advance node. Most "infinite loops" are a forgotten node = node.Next.You already have the tools: traverse, build with a dummy, rewire carefully. The rest of this section is practice. Take the harder ones slowly, draw the pictures, and they'll click. Onward.