Mental Model
Pop means removing the last item from a linked list and returning it. We find the second last node and cut off the last node.
Analogy: Imagine a chain of paper clips linked together. To remove the last clip, you hold the second last clip and unhook the last one.
head -> 1 -> 2 -> 3 -> null
↑
tail