r/learnprogramming • u/FantasticFourSkin • Jan 31 '14
Can someone ELI5 linked lists?
Part of my assignment for my online class involves linked lists and we don't really go over them. I looked around online and I'm slightly confused by all the explainations since I'm fairly new to programming. Can someone dumb it down for me?
77
Upvotes
View all comments
Show parent comment
4
u/midel Jan 31 '14
I would hope it clears some things up. It's not exactly like ELI5 because I truely don't answer there. I tried to provide screen shots and snippets of the code without going into any further technical detail.
Overall the idea of a linked list is to store data without having the restriction of continuous space. Much like /u/Crayola13 's scavenger hunt. But it does only go one way. Each node points to another node in a sequence. I would think I explained it thoroughly and would have let the OP decide if it was too wordy for his understanding.