Subjects / Algorithms & data structures

Best books to learn Algorithms & data structures, in order

This subject builds strictly upward and rewards patience. Arrays and linked lists come before trees and graphs; understanding those structures comes before the algorithms that traverse them; and Big-O intuition has to run through all of it. Dynamic programming only makes sense once recursion and the simpler structures are automatic. Foundations, then core algorithms, then the hard patterns.

Build your own Algorithms & data structures list →Browse all paths

Reading paths for algorithms & data structures

Popular algorithms & data structures books

Related reading

Frequently asked questions

How should I approach learning algorithms & data structures?
This subject builds strictly upward and rewards patience. Arrays and linked lists come before trees and graphs; understanding those structures comes before the algorithms that traverse them; and Big-O intuition has to run through all of it. Dynamic programming only makes sense once recursion and the simpler structures are automatic. Foundations, then core algorithms, then the hard patterns.
What's a good book to start algorithms & data structures with?
A strong starting point is Introduction to Algorithms by Thomas H. Cormen. The ordered reading paths above show exactly where it fits and what to read next.
What should I read after algorithms & data structures?
Once you have the fundamentals, explore closely related subjects like System design, Computer science fundamentals, Deep learning.

Related subjects