Overview
Golang translations of the Java source code for the algorithms and clients in the textbook Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
Coding style
Try to keep the interface and variable name consistent with the original Java source code while writing idiomatic Go code.
Note: Most clients are in example_xxx_test.go.
Index
See index.md.
License
This code is released under GPLv3. See LICENSE.
Reference
- https://github.com/kevin-wayne/algs4: The official Java source code repository
- https://github.com/shellfly/algo: Go implementation
- https://github.com/garyaiki/Scala-Algorithms: Scala implementation
- https://github.com/nguyenqthai/Algs4Net: .Net implementation
- https://github.com/itu-algorithms/itu.algs4: Pthon implementation
- https://github.com/shellfly/algs4-py: Python implementation
Contribution
Feel free to pull requests and issue reports. Appreciate the contribution of high-quality test cases, code fixes and coding style improvements.