Hacker News new | past | comments | ask | show | jobs | submit login

I don't think I knew what a linked list was at age 12, but I don't think you even have to know what a stack is to do this. Just draw it on a whiteboard, and it becomes obvious that you just walk the list and flip arrows. Seeing that linked lists can represent interesting structures is I think an even more advanced concept, but one that is unnecessary for this particular question.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: