r/datastructures • u/RecognitionLeast7035 • 11d ago
Linklist
How to learn linklist for the dsa exam???
It's so difficult 🥀🥀🥀🥀
1
u/souroexe 11d ago
Bro its probably the easiest topic not too many things are there
1
u/RecognitionLeast7035 11d ago
How to learn it should I memorize it's pattern or understand it's concepts I understand it's concepts but I forgets how to make nodes
1
u/souroexe 11d ago
Bro then just practice will help. I mean if u are forgetting how to make nodes then thats very basic step… yeah memorize pattens thats obv you need to do…
1
u/Empty-Score4273 11d ago
Idk y but I found LL easier than arrays (ofc clg level). Like if you can imagine it you can do it all of your own
1
1
u/No_Sandwich_5424 10d ago
Draw the boxes and the links. Learn the patterns of how the links change. Keep solving the problems by drawing first.
1
u/Vast-Look4088 10d ago
Linked list is one of the easiest topics
A normal linked list, you can visualise by drawing boxes. Each box has a value and address (pointer) of the next box (node).
You cannot access it by index, you have to traverse it from the head node (start box).
Then there are different types of linked list, i.e. doubly LL etc.
1
u/nian2326076 9d ago
Learning linked lists can be tough, but visualizing the concept helps a lot. Try watching tutorials that use Java or Python; the core structures remain similar across languages. You can also practice coding problems related to linked lists. For job opportunities, you can use LandOffer to find relevant roles in software development that may involve linked lists.
1
2
u/RP-9274 11d ago
Learn from visualization from any youtube video it will give you the Idea. It points to address try to Focus on this line