+ 1

Linked list

What's the easiest way to learn Linked list?

24th Jun 2025, 9:05 PM
Rich-cool
Rich-cool - avatar
2 odpowiedzi
+ 4
draw the operations step by step on a piece of paper; that helped me so much when I was a beginner. It's visual and interactive which is good for information retention list of operations to try: - create node circle with a line pointing to null - add node create a node and place it in the appropriate location - delete node find the node, delete it, and relink the list Knowing these 3 will aid in other operations such as reversing, sorting, linking 2 lists, etc.
24th Jun 2025, 11:04 PM
「HAPPY TO HELP」
「HAPPY TO HELP」 - avatar
+ 1
Rich-cool , wikipedia has a nice article about `linked list`. it provides some graphical visualizations which make it easier to understand. https://en.wikipedia.org/wiki/Linked_list this site is also worth to have a look on it: https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python_dsa_linkedlists.asp
25th Jun 2025, 9:44 AM
Lothar
Lothar - avatar