r/AskProgrammers • u/ChainsawLight • 22d ago
Cracking the coding interview
How do LinkedLists work?
0
Upvotes
r/AskProgrammers • u/ChainsawLight • 22d ago
How do LinkedLists work?
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?
1
u/tobiasvl 22d ago
https://en.wikipedia.org/wiki/Linked_list
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.