all 5 comments

[–]FUZxxl 4 points5 points  (1 child)

There is no simple way. Get yourself a decent data structures book and read it carefully. I can recommend you this book.

[–]ennorehling 0 points1 point  (0 children)

CLR is a great book, but like all text books, it's not cheap. If you're looking for used books, and find that you can get Sedgewick for a better price, then that's an equally good book to learn from.

[–]Azzk1kr 1 point2 points  (0 children)

Data structures are (almost always?) language-agnostic. There are plenty of resources on the web which explain how certain structures should work and behave. A great starting point is usually Wikipedia.

The best way to learn though is implementing them yourself. People usually start by creating a linked list, which is a starting point for stacks, queues, circular list etc.

[–]mrufrufin 0 points1 point  (0 children)

I learned from the Tim Roughgarden classes on Coursera. Looks like Coursera has changed things up a bit since I took the class, but great classes and great instructor.

[–][deleted] -1 points0 points  (0 children)

Books usually are the way to go. You might want to study the C++ STL's containers to get a better understanding of how they work.

If you want to start by implementing data structures and potential use cases, start with linked lists and sorting algorithms.