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
2
u/door_of_doom Jan 31 '14
Honest question trying to think back to CompSci 101, the only one I ever took:
Assuming you haven't created a memory leak by deleting your leading pointer without deconstructing your linked list, when wouldn't you have access to the address of the first node?