do I really need to learn linked lists
Second year. Prof says yes. Everybody online says nobody uses them, use arrays. Am I wasting my time?
Your discussion
This browser holds the management token for this post.
Save management token
Keep this private. Anyone with the token can resolve or delete this discussion.
4 replies
Yes you need them, because of the interview and because of the 30 minutes it takes you to learn what a pointer is. It's not going to take long, stop asking.
The Linux kernel uses them all over the place. Most application code shouldn't, since arrays win on cache behaviour. You should know both and why.
"everybody online" has never shipped anything
A list is one of the two structures the rest of computer science is built from. I'm obviously biased.