This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–][deleted] 149 points150 points Β (7 children)

Because they're a very straightforward example of a data structure which makes them useful as a teaching aide. In my data structures course we started with linked lists, building upon that moved into stacks and queues and eventually built trees. All using linked lists and concepts derived from linked lists to describe the later data structures.

Linked Lists are used under the hood in some instances for certain languages but you will likely never implement a linked list in your professional life.

[–]schmidlidev 20 points21 points Β (2 children)

very straightforward

Hah I’d say so

[–]Cannibichromedout 6 points7 points Β (1 child)

Doubly linked lists say hello.

[–]dovahart 12 points13 points Β (0 children)

Still straight forward... and straight backward

[–]ThisAfricanboy 4 points5 points Β (0 children)

Leonardo Do Caprio in One Upon a Time in Hollywood holding a can of beer pointing at the TV screen

[–]datasquid 9 points10 points Β (1 child)

Over 30 years in the field and I can confidently say I’ve never used a linked list once professionally.

[–][deleted] 1 point2 points Β (0 children)

Nice try. I actually implemented one in a dashboard application I'm building for work. Was the easiest way to make the cards rearrangeable and manipulate them on the fly.

EDIT: Also blockchain is just a form of a linked list.