3 ms·
The point of learning about linked lists is not to actually, you know, write a linked list. For one reason, your language of choice probably already has one, bu
by moron4hire 4y ago
The point of learning about linked lists is not to actually, you know, write a linked list. For one reason, your language of choice probably already has one, but also, in the process of learning about linked lists, you're supposed to also learn about their drawbacks[0]. No, the point is that there are a lot of linked-list-like things in the world, so knowing about how to work with linked lists helps you work with those things when you encounter them.
[0] Seems there are a lot of problems that stem form Comp Sci students skimming the syllabus and not actually reading the material.