Mental Model
To remove the last item, 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 where you want to remove the last carriage. You detach it from the second last carriage, and the second last becomes the new end.
head -> 1 β 2 β 3 β 4 β 5 β tail Each arrow β shows two-way links between nodes.
