By Robert Sedgewick, Kevin Wayne,

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,…

Shepherd is reader supported. We may earn an affiliate commission when you buy through links on our website. (learn more)

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.

Want books like Algorithms?

Our community of 7,000+ authors has personally recommended 10 books like Algorithms.

Browse books like Algorithms

5 book lists we think you will like!

Interested in algorithms, object-oriented programming, and computer science?

7,000+ authors have recommended their favorite books and what they love about them. Browse their picks for the best books about algorithms, object-oriented programming, and computer science.

Algorithms Explore 21 books about algorithms
Object-Oriented Programming Explore 9 books about object-oriented programming
Computer Science Explore 20 books about computer science