Mental Model
To remove the last item, we find the tail and unlink it from the list, updating the previous node to be the new tail.
Analogy: Imagine a train of connected carriages. To remove the last carriage, you detach it from the one before it, so the second last becomes the new end.
head -> 1 β 2 β 3 β 4 β 5 β tail Each arrow β shows two-way links between nodes.