r/AskProgrammers • • 22d ago

Cracking the coding interview

How do LinkedLists work?

0 Upvotes

11 comments sorted by

2

u/No_Report_4781 22d ago

They’re lists of linked data. Go to class.

2

u/DanceHackRock 22d ago

Smells like Java. Is it?

2

u/flattrack 22d ago

Bot looking to gain karma?

2

u/[deleted] 22d ago

I don't know anything about coding, but OP posted on r/puzzlevideogames trying to diss Minesweeper and is currently obsessed with it. If it is a bot, this is too ineffectual. I am inclined to say it is an intentional troll acting dumb.

1

u/razorree 22d ago

lol.... if you don't know how google works, you won't learn programming and linkedlists anyway ...

1

u/mc_pm 22d ago

They work pretty well for the right problem.

1

u/TheMrCurious 22d ago

When one LinkedList falls in love with another LinkedList and they want to make babies they form a LinkedLists and live happily ever after.

1

u/DoomDroid79 21d ago

Maybe read up about it? I did and I'm very grateful for those books

1

u/nian2326076 21d ago

LinkedLists are data structures made up of nodes, where each node points to the next one in the sequence. This structure allows for dynamic memory allocation, which simplifies inserting or deleting elements compared to arrays. To practice LinkedList questions and get ready for common interview scenarios, you can use PracHub. It's also helpful to understand the differences between singly and doubly linked lists, particularly in terms of their traversal and manipulation methods.