Data structures and algorithms

Reading material and other useful resources

Main literature

The main course book is our adaptation of the OpenDSA interactive course book.

For doing the labs you will want to look up the Java collections library documentation, or the Python documentation.

Interactive visualisation tools

There are several tools available for visualising how different data structures and algorithms work. Our favourites are of course developed by ourselves:)

Here are some other favourites:

Supplementary material

Data structures is a subject that is taught in a similar way all over the world. This means that there are loads of books about data structures and algorithms. Most of them are ok and present roughly the same material as we do in this course. If you get your hands on a second-hand course book, it’s probably good enough. But be prepared that there might be differences both in how they are organised and what content is included.

We recommend Algorithms (2014) by Robert Sedgewick and Kevin Wayne as supplemental reading, because they have better explanations of the data structures and algorithms. And lots of examples and exercises. It’s enough to only read part 1, which is a very affordable e-book.

The book has an excellent website which is well worth a look. You can find short explanations of each data structure from the book (under the chapter headings on the left of the page), as well a cheatsheet, and references to classic papers.

Free books

Here are some course-related books that are available free online. You do not need to read them to pass the course, but if you want to go deeper then the first book in particular is great!

Non-free but excellent books

The books in this section are not part of the course, but are great reads if you want to learn more. All of them can be found in the Chalmers library.