https://github.com/today2098/go-algorithm
My library for competitive programming by Go.
https://github.com/today2098/go-algorithm
algorithm competitive-programming go golang
Last synced: 30 days ago
JSON representation
My library for competitive programming by Go.
- Host: GitHub
- URL: https://github.com/today2098/go-algorithm
- Owner: today2098
- License: mit
- Created: 2024-12-28T01:07:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T08:39:51.000Z (about 1 year ago)
- Last Synced: 2025-02-23T01:18:26.585Z (about 1 year ago)
- Topics: algorithm, competitive-programming, go, golang
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-algorithm
[](https://github.com/today2098/go-algorithm/actions/workflows/go.yml)
[](https://codecov.io/github/today2098/go-algorithm)
[](https://github.com/today2098/go-algorithm/actions/workflows/verify.yml)
[](https://goreportcard.com/report/github.com/today2098/go-algorithm)
[](https://pkg.go.dev/github.com/today2098/go-algorithm)
[](https://github.com/today2098/go-algorithm/tags)
My library for competitive programming by Go.
## Installation
```bash
go get -u github.com/today2098/go-algorithm
```
## Descriptions
### Data structure
| Name | Summary | Doucument |
| --------------------------------------- | ------------------------------------------ | ------------------------------------- |
| [Stack](./algorithm/stack.go) | A data structure about simple stack (LIFO) | [stack.md](./docs/stack.md) |
| [Queue](./algorithm/queue.go) | A data structure about simple queue (FIFO) | [queue.md](./docs/queue.md) |
| [Deque](./algorithm/deque.go) | Double-ended queue | - |
| [BinaryHeap](./algorithm/binaryheap.go) | A data structure about priority queue | [binaryheap.md](./docs/binaryheap.md) |
| [UnionFind](./algorithm/unionfind.go) | Disjoint-set data structure | [unionfind.md](./docs/unionfind.md) |
### Graph algorithms
| Name | Summary | Doucument |
| ----------------------------------- | ----------------------------------------------------------------------- | --------- |
| [Dijkstra](./algorithm/dijkstra.go) | A helper structure to solve shortest path problem by Dijkstra algorithm | - |
### Utilities
| Name | Summary | Doucument |
| ------------------- | --------------------------- | --------- |
| [IO](./utils/io.go) | A helper structure about IO | - |