+ 2
Why do we have to learn about stack and queue when we could directly learn about linked list?
2 ответов
+ 2
Because all of them have their use in different cases.
They are different in speed, memory efficiency, and in how mich you can do with them.
+ 2
It's better to have knowledge about different data structures. And each of em has its own purpose. Learn more about them to know the pros and cons of each.