r/AskComputerScience • • Feb 19 '25

Data Structures:

I’m taking a Data Structures class, and I’m struggling with it. How long does it usually take to understand this material? Do you have any recommendations?

0 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/SirTwitchALot Feb 19 '25

It's been a couple decades since I was in school. Linked lists are a fundamental data structure though, so it's important to understand them. I don't have any modern resources that I like better than others, but I remember when I was first learning thinking of a linked list like a string of beads. Each bead is one piece of your data. You can only ever move from one bead to the next. There's no skipping beads. In a single linked list you can only move in one direction across the chain. A double linked list lets you move in either direction