Navigating linked lists is a lot like spending a day applying for a passport. I’ll show you why that is.
In a linked list each box or segment can be referred to as a ‘node’. Nodes represent the information contained in a single point within a data structure.
Each node in a linked list has three things:
- some useful data or methods
- a reference to the next node in the list
So picture this. You’re at the Government Services Bureau applying for a passport. You go to the front desk, listen to the info they have to offer…