Solution codes for the Algorithms 4th written by Robert Sedgewick.
Here is the complete solutions with exs and explanations.
Prerequisite for running tests:
// Download lib file algs4.jar
gradle downloadLib
// Download and unzip test data file algs4-data.zip(394.3MB)
// Some tests depend on these files
gradle downloadAndUnzipTestDataFile
Available references: