https://github.com/youngzhu/algs4-go
Algorithms, 4th Edition, Go version
https://github.com/youngzhu/algs4-go
algorithms go golang
Last synced: 5 months ago
JSON representation
Algorithms, 4th Edition, Go version
- Host: GitHub
- URL: https://github.com/youngzhu/algs4-go
- Owner: youngzhu
- License: gpl-3.0
- Created: 2021-09-07T14:28:56.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T00:49:59.000Z (over 1 year ago)
- Last Synced: 2025-01-15T01:49:50.300Z (over 1 year ago)
- Topics: algorithms, go, golang
- Language: Go
- Homepage: https://algs4.cs.princeton.edu/code/
- Size: 3.15 MB
- Stars: 184
- Watchers: 5
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![][github-stars-shield]][github-stars-link]
[![][github-forks-shield]][github-forks-link]
[![][github-license-shield]][github-license-link]
## 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](index.md).
## License
This code is released under [GPLv3](LICENSE).
## Reference
- https://github.com/kevin-wayne/algs4: The official Java source code repository
- [https://github.com/shellfly/algo](https://github.com/shellfly/algo): Go implementation
- [https://github.com/garyaiki/Scala-Algorithms](https://github.com/garyaiki/Scala-Algorithms): Scala implementation
- [https://github.com/nguyenqthai/Algs4Net](https://github.com/nguyenqthai/Algs4Net): .Net implementation
- [https://github.com/itu-algorithms/itu.algs4](https://github.com/itu-algorithms/itu.algs4): Pthon implementation
- https://github.com/shellfly/algs4-py: Python implementation
## Contribution
Feel free to pull requests or issue reports. Appreciate the contribution of high-quality test cases, code fixes and coding style improvements.
[github-forks-link]: https://github.com/youngzhu/algs4-go/network/members
[github-forks-shield]: https://img.shields.io/github/forks/youngzhu/algs4-go?color=8ae8ff&labelColor=black&style=flat-square
[github-license-link]: https://github.com/youngzhu/algs4-go/blob/main/LICENSE
[github-license-shield]: https://img.shields.io/github/license/youngzhu/algs4-go?labelColor=black&style=flat-square
[github-stars-link]: https://github.com/youngzhu/algs4-go/stargazers
[github-stars-shield]: https://img.shields.io/github/stars/youngzhu/algs4-go?color=ffcb47&labelColor=black&style=flat-square