Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Algorithms, 4th edition textbook code and libraries

License

NotificationsYou must be signed in to change notification settings

algorithm-programming/algs4

 
 

Repository files navigation

Algorithms 4/e textbook

Thispublic repositorycontains the Javasource codefor the algorithms and clients in the textbookAlgorithms, 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 usealgs4.jar instead.

Design goals

Our original goal was to cover the50 algorithms that every programmer should know.We use the wordprogrammer to refer to anyone engaged in trying to accomplishsomething with the help of a computer, including scientists, engineers, and applicationsdevelopers, not to mention college students in science, engineering, and computer science.The code is optimized for clarity, portability, and efficiency. While some of ourimplementations are as fast as (or faster than) their counterparts injava.util,our main goal is to express the core algorithmic ideas in an elegant and simple manner.While we embrace some advanced Java features (such as generics and iterators),we avoid those that interfere with the exposition (such as inheritance and concurrency).

Build managers

This repository is intended for use with either theMavenorGradle build managers.It can be run from either the command line or integrated intoEclipse, NetBeans, and IntelliJ.You can also access it viaBintray.

Coursera Algorithms, Part I and II students

Feel free to use this public repository to develop solutions to the programming assignments.However, please do not store solutions to programming assignments in public repositories.

Copyright

Copyright © 2000–2019 by Robert Sedgewick and Kevin Wayne.

License

This code is released under GPLv3.

Contribute to this repository

Thiswishlist.txtcontains a list of algorithms and data structures that we wouldlike to add to the repository. Indeed, several of the algorithms anddata structures in this repository were contributed by others. If interested, pleasefollow the same style as the code in the repository and thoroughly test yourcode before contacting us.

Support for other programming languages

Some of the code in this repository has been translated to other languages:

Credits

Thanks to Peter Korgan for Maven and Gradle support.

About

Algorithms, 4th edition textbook code and libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java100.0%

[8]ページ先頭

©2009-2025 Movatter.jp