{"id":23882191,"url":"https://github.com/today2098/go-algorithm","last_synced_at":"2026-02-26T21:31:34.324Z","repository":{"id":270133580,"uuid":"909188842","full_name":"today2098/go-algorithm","owner":"today2098","description":"My library for competitive programming by Go.","archived":false,"fork":false,"pushed_at":"2025-01-03T08:39:51.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T01:18:26.585Z","etag":null,"topics":["algorithm","competitive-programming","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/today2098.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-28T01:07:25.000Z","updated_at":"2025-01-03T08:39:54.000Z","dependencies_parsed_at":"2024-12-28T18:18:46.429Z","dependency_job_id":"d440a96d-878f-4e6c-9948-9853a1d291d5","html_url":"https://github.com/today2098/go-algorithm","commit_stats":null,"previous_names":["today2098/go-algorithm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/today2098/go-algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/today2098%2Fgo-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/today2098%2Fgo-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/today2098%2Fgo-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/today2098%2Fgo-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/today2098","download_url":"https://codeload.github.com/today2098/go-algorithm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/today2098%2Fgo-algorithm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29873185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T21:05:00.265Z","status":"ssl_error","status_checked_at":"2026-02-26T20:57:13.669Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","competitive-programming","go","golang"],"created_at":"2025-01-04T02:45:16.278Z","updated_at":"2026-02-26T21:31:34.289Z","avatar_url":"https://github.com/today2098.png","language":"Go","readme":"# go-algorithm\n\n[![Go](https://github.com/today2098/go-algorithm/actions/workflows/go.yml/badge.svg)](https://github.com/today2098/go-algorithm/actions/workflows/go.yml)\n[![codecov](https://codecov.io/github/today2098/go-algorithm/graph/badge.svg?token=5QZTGEIEBY)](https://codecov.io/github/today2098/go-algorithm)\n[![verify](https://github.com/today2098/go-algorithm/actions/workflows/verify.yml/badge.svg)](https://github.com/today2098/go-algorithm/actions/workflows/verify.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/today2098/go-algorithm)](https://goreportcard.com/report/github.com/today2098/go-algorithm)\n[![Go Reference](https://pkg.go.dev/badge/github.com/today2098/go-algorithm.svg)](https://pkg.go.dev/github.com/today2098/go-algorithm)\n[![GitHub Tag](https://img.shields.io/github/v/tag/today2098/go-algorithm)](https://github.com/today2098/go-algorithm/tags)\n\nMy library for competitive programming by Go.\n\n\n## Installation\n\n```bash\ngo get -u github.com/today2098/go-algorithm\n```\n\n\n## Descriptions\n\n### Data structure\n\n| Name                                    | Summary                                    | Doucument                             |\n| --------------------------------------- | ------------------------------------------ | ------------------------------------- |\n| [Stack](./algorithm/stack.go)           | A data structure about simple stack (LIFO) | [stack.md](./docs/stack.md)           |\n| [Queue](./algorithm/queue.go)           | A data structure about simple queue (FIFO) | [queue.md](./docs/queue.md)           |\n| [Deque](./algorithm/deque.go)           | Double-ended queue                         | -                                     |\n| [BinaryHeap](./algorithm/binaryheap.go) | A data structure about priority queue      | [binaryheap.md](./docs/binaryheap.md) |\n| [UnionFind](./algorithm/unionfind.go)   | Disjoint-set data structure                | [unionfind.md](./docs/unionfind.md)   |\n\n\n### Graph algorithms\n\n| Name                                | Summary                                                                 | Doucument |\n| ----------------------------------- | ----------------------------------------------------------------------- | --------- |\n| [Dijkstra](./algorithm/dijkstra.go) | A helper structure to solve shortest path problem by Dijkstra algorithm | -         |\n\n\n### Utilities\n\n| Name                | Summary                     | Doucument |\n| ------------------- | --------------------------- | --------- |\n| [IO](./utils/io.go) | A helper structure about IO | -         |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoday2098%2Fgo-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoday2098%2Fgo-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoday2098%2Fgo-algorithm/lists"}