00:01
In this question, we have some sort of structure that involves nodes.
00:06
And it has a pointer name next for linking to another node structure.
00:11
So every node, so we have some nodes, and every node has some pointer next that tells it which node comes next.
00:25
And so you can get like a chain of one or more nodes.
00:28
And the head node has this pointer pointing to the head node, and this pointer is labeled head.
00:38
Okay, so we also have this helper pointer called kerr that is used to point to the node structure.
00:45
And so let's say that, so kerr can be pointed anywhere in the node structure.
00:52
And we want to create a code snippet that's going to make it point to the last node in the chain.
00:59
Okay, so what we can do is we start at head.
01:08
So we're going to start at the head node.
01:11
And so basically all of these things are going to point to the next node...