This repository records my creations and refinement while learning Algorithms 4th Edition by Robert Sedgewick and Kevin Wayne.
This public repository contains the Java source code for the algorithms and clients in the textbook Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. This is the official version—it is actively maintained and updated by the authors. The programs are organized in the packageedu.princeton.cs.algs4.
If you need only the class files (and not the source code), you can use
algs4.jar instead.
Copyright © 2000–2017 by Robert Sedgewick and Kevin Wayne.
This code is released under GPLv3.
This wishlist.txt contains a list of algorithms and data structures that we would like to add to the repository. Indeed, several of the algorithms and data structures in this repository were contributed by others. If interested, please follow the same style as the code in the repository and thoroughly test your code before contacting us.
Some of the code in this repository has been translated to other languages:
Thanks to Peter Korgan for Maven and Gradle support.