Hi everyone.. :), me again.
I've never used Linked Lists.. They don't make sense to me.
I kind of understand them though. There's plently of online explanations explaining what they are but they all go down the same path.
I'm trying to undertstand how one Note (via the next pointer) points to the next node when after each node is declared dynamically. So I can't understand why when the second, third or fourth node is declared why it doesn't replace a noted already instantiated with the same name.
Intuitively I see it this way: The 'HEAD' pointer points to the first node. The 'NEXT' pointer in the first node points to the second node (which is instantiated dynamically). For one, why is it that when this second node is instantiated it does not totally overwrite the first node? Secondly.. Does the 'NEXT' pointer in the first node point just to a memory location of the second node.. and so on... which I assume is why the 'HEAD' pointer is the starting point and the only identifiable pointer to access the linked list.
Intuitevly.. I would think that there would have to be some form of increment to identify each node so this is where I'm getting confused.