Book cover of Algorithms

Book description

This fourth edition of Robert Sedgewick and Kevin Wayne's Algorithms is the leading textbook on algorithms today and is widely used in colleges and universities worldwide. This book surveys the most important computer algorithms currently in use and provides a full treatment of data structures and algorithms for sorting, searching,…

When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked Algorithms as one of their favorite books. Why do they recommend it?

Many of my favourite algorithms books give short shrift to designing APIs for the algorithms and data structures that they present. The Sedgewick and Wayne book, by contrast, goes all in on an object-oriented API design. This is my book choice for Java programmers and those interested in larger program design considerations. Clear your calendar: each chapter here is massive, but I think the time investment is worth it. I especially like the chapter that shows how to tune classic algorithms for realizing speedups when working with strings.

If you love Algorithms...

Book cover of These Blue Mountains

These Blue Mountains by Sarah Loudin Thomas,

A moving story of love, betrayal, and the enduring power of hope in the face of darkness.

German pianist Hedda Schlagel's world collapsed when her fiancé, Fritz, vanished after being sent to an enemy alien camp in the United States during the Great War. Fifteen years later, in 1932, Hedda…

Want books like Algorithms?

Our community of 12,000+ authors has personally recommended 72 books like Algorithms.

Browse books like Algorithms

Book cover of Algorithm Design
Book cover of Algorithms Illuminated: The Basics
Book cover of Data Structures and Algorithms

Share your top 3 reads of 2025!

And get a beautiful page showing off your 3 favorite reads.

1,366

readers submitted
so far, will you?

📚 If you like Algorithms, you might also like...

Book cover of Marriage and Fatherhood in the Nazi SS

Marriage and Fatherhood in the Nazi SS by Amy Carney,

When I was writing this book, several of my friends jokingly called it the Nazi baby book, with one insisting it would make a great title. Nazi Babies – admittedly, that is a catchy title, but that’s not exactly what my book is about. SS babies would be slightly more…

Book cover of A Forgivable Indecision

A Forgivable Indecision by Shawn Jennings,

In 1913, a 15-year-old pregnant girl was found dead of apparent suicide. Dr. James Wilson, a new graduate and the first doctor ever to start a practice in this rural town, feels guilty over her death because of his delayed intervention.

He knows Bessie was raped by one of her…

5 book lists we think you will like!