r/datastructures • • 5d ago

Linklist

How to learn linklist for the dsa exam???

It's so difficult 🥀🥀🥀🥀

4 Upvotes

13 comments sorted by

2

u/RP-9274 5d ago

Learn from visualization from any youtube video it will give you the Idea. It points to address try to Focus on this line

1

u/RecognitionLeast7035 5d ago

Actually I am learning it in c sharp so there is no lec on YouTube in c sharp I hate cllg Walay😖😖

1

u/RP-9274 5d ago

Language doesn't matter . It's a concept so you can learn it with visualization and as you are learning in c# see video in java both syntax are almost same so you will get it . Don't focus on code but Focus on concept you will get other wise just ask that what you aren't understanding

1

u/souroexe 5d ago

Bro its probably the easiest topic not too many things are there

1

u/RecognitionLeast7035 5d 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 5d 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 5d 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

u/ThenYesterday7761 4d ago

For Java raghav sir and in c++ coder army

1

u/No_Sandwich_5424 4d 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 4d 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 3d 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

u/Fabulous-Grand-9924 2d ago

I practiced linked list a lot, it's my fav now.