A list where each item says where the next one is.
The arrays tutorial, or: you know that an array is a row of values, and that adding a value at the front means moving all the others along by one
You can write a few lines of Python or Java: variables, loops and functions. The one small class used here is explained line by line
Lesson 1 · What a linked list is
Next: 3 · Stacks and queues · 8 lessons · 1 h 18 min
Try the same model with your own values. No checks, nothing recorded.
Open the playground