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
0
u/Maethor_derien Feb 01 '14 edited Feb 01 '14
The problem is it is almost impossible to really explain linked lists that easily, they are one of the more complicated things that many people have trouble getting their head around. Its especially bad with newer programmers because they did not learn pointers in languages people recommend for beginners like python. Its the main problem learning one of those high level languages first has you never understand how the meat of it all really works, learning C++ is much harder but you will understand what is actually happening much better. It is also almost impossible to understand a linked list if you do not understand how pointers work so he had to explain how that works and the basics of memory works for you to understand how a LL works and why it is needed.