{"id":5239894,"name":"github.com/halfrost/LeetCode-Go/structures","ecosystem":"go","description":"","homepage":"https://github.com/halfrost/LeetCode-Go","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/halfrost/LeetCode-Go","keywords_array":[],"namespace":"github.com/halfrost/LeetCode-Go","versions_count":25,"first_release_published_at":"2022-10-31T22:53:54.000Z","latest_release_published_at":"2026-06-22T10:59:54.000Z","latest_release_number":"v0.0.0-20260622105954-52737847103d","last_synced_at":"2026-09-23T04:45:44.195Z","created_at":"2022-09-11T01:44:20.815Z","updated_at":"2026-09-23T17:47:30.720Z","registry_url":"https://pkg.go.dev/github.com/halfrost/LeetCode-Go/structures","install_command":"go get github.com/halfrost/LeetCode-Go/structures","documentation_url":"https://pkg.go.dev/github.com/halfrost/LeetCode-Go/structures#section-documentation","metadata":null,"repo_metadata":{"id":37346027,"uuid":"97533102","full_name":"halfrost/LeetCode-Go","owner":"halfrost","description":"✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% | LeetCode 题解","archived":false,"fork":false,"pushed_at":"2026-09-11T01:48:08.000Z","size":43097,"stargazers_count":33809,"open_issues_count":4,"forks_count":5707,"subscribers_count":607,"default_branch":"master","last_synced_at":"2026-09-16T21:17:14.794Z","etag":null,"topics":["acm-icpc","algorithm","algorithm-competitions","algorithms","algorithms-and-data-structures","coding-interviews","competitive-programming","data-structures","dynamic-programming","ebook","go","golang","interview-questions","leetcode","leetcode-go","leetcode-golang","leetcode-solutions","math"],"latest_commit_sha":null,"homepage":"https://books.halfrost.com/leetcode","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/halfrost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["halfrost"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2017-07-18T00:06:14.000Z","updated_at":"2026-09-16T11:45:30.000Z","dependencies_parsed_at":"2023-02-02T19:47:32.298Z","dependency_job_id":"7f90f7de-d2f9-4db0-ad54-3fd4418cdbfd","html_url":"https://github.com/halfrost/LeetCode-Go","commit_stats":{"total_commits":1461,"total_committers":53,"mean_commits":"27.566037735849058","dds":0.2080766598220397,"last_synced_commit":"25c03cf13afa6ffb2bb305940c9bced152214536"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/halfrost/LeetCode-Go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halfrost","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/sbom","scorecard":{"id":453444,"data":{"date":"2025-08-11","repo":{"name":"github.com/halfrost/LeetCode-Go","commit":"d78a9e0927a302038992428433d2eb450efd93a2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 6/22 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.7.0 not signed: https://api.github.com/repos/halfrost/LeetCode-Go/releases/44917757","Warn: release artifact 1.6.6 not signed: https://api.github.com/repos/halfrost/LeetCode-Go/releases/38044149","Warn: release artifact Special not signed: https://api.github.com/repos/halfrost/LeetCode-Go/releases/29857642","Warn: release artifact 1.5.20 not signed: https://api.github.com/repos/halfrost/LeetCode-Go/releases/29745988","Warn: release artifact 1.7.0 does not have provenance: https://api.github.com/repos/halfrost/LeetCode-Go/releases/44917757","Warn: release artifact 1.6.6 does not have provenance: https://api.github.com/repos/halfrost/LeetCode-Go/releases/38044149","Warn: release artifact Special does not have provenance: https://api.github.com/repos/halfrost/LeetCode-Go/releases/29857642","Warn: release artifact 1.5.20 does not have provenance: https://api.github.com/repos/halfrost/LeetCode-Go/releases/29745988"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/halfrost/LeetCode-Go/deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/halfrost/LeetCode-Go/deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/halfrost/LeetCode-Go/deploy.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T08:50:21.016Z","repository_id":37346027,"created_at":"2025-08-19T08:50:21.016Z","updated_at":"2025-08-19T08:50:21.016Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37428037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-18T02:00:15.364Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"halfrost","name":"halfrost","uuid":"10825609","kind":"user","description":"✨ Fiat Lux ✨ Go Bears 🐻💙💛 \r\n\r\nInference / AI Native / MLsys / Gopher / Rustacean / Kubernetes / Cloud Native / Machine Learning / DeFi","email":"i@halfrost.com","website":"https://halfrost.com","location":"[California, Singapore, China]","twitter":"halffrost","company":"@Kubeflow @CNCF","icon_url":"https://avatars.githubusercontent.com/u/10825609?u=03334ecb4f5215e795ed600b655acd597945d4f9\u0026v=4","repositories_count":34,"last_synced_at":"2026-09-17T01:56:37.346Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/halfrost","funding_links":["https://github.com/sponsors/halfrost"],"total_stars":50363,"followers":17491,"following":353,"created_at":"2022-11-11T11:48:05.020Z","updated_at":"2026-09-17T01:56:37.360Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halfrost","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halfrost/repositories"},"tags":[{"name":"1.7.97","sha":"f00caa917e21ca9fdce65433225d6e54a20d6ae3","kind":"commit","published_at":"2026-06-28T06:46:50.000Z","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/1.7.97","html_url":"https://github.com/halfrost/LeetCode-Go/releases/tag/1.7.97","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/halfrost/LeetCode-Go@1.7.97","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.7.97","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.7.97/manifests"},{"name":"1.7.1","sha":"3442d3a339c502289f06aec0569a362e45c27344","kind":"commit","published_at":"2022-09-11T01:05:19.000Z","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/1.7.1","html_url":"https://github.com/halfrost/LeetCode-Go/releases/tag/1.7.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/halfrost/LeetCode-Go@1.7.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.7.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.7.1/manifests"},{"name":"1.7.0","sha":"b012a1f9d5ab9eae42e10411cdf3dc87473baab6","kind":"commit","published_at":"2021-06-20T06:32:59.000Z","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/1.7.0","html_url":"https://github.com/halfrost/LeetCode-Go/releases/tag/1.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/halfrost/LeetCode-Go@1.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.7.0/manifests"},{"name":"1.6.6","sha":"8796fe779f5946d200b9e0b272bc4a4ef61873a2","kind":"commit","published_at":"2021-02-15T05:20:24.000Z","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/1.6.6","html_url":"https://github.com/halfrost/LeetCode-Go/releases/tag/1.6.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/halfrost/LeetCode-Go@1.6.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.6.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.6.6/manifests"},{"name":"Special","sha":"d0543da17ba62db970e541e60d7e25b1bed0a653","kind":"commit","published_at":"2020-08-19T08:55:32.000Z","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/Special","html_url":"https://github.com/halfrost/LeetCode-Go/releases/tag/Special","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/halfrost/LeetCode-Go@Special","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/Special","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/Special/manifests"},{"name":"1.5.20","sha":"2e88f5cc7a8629ac1d0a64e73f98cf382a1e0db4","kind":"commit","published_at":"2020-08-16T12:55:26.000Z","download_url":"https://codeload.github.com/halfrost/LeetCode-Go/tar.gz/1.5.20","html_url":"https://github.com/halfrost/LeetCode-Go/releases/tag/1.5.20","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/halfrost/LeetCode-Go@1.5.20","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.5.20","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/tags/1.5.20/manifests"}]},"repo_metadata_updated_at":"2026-09-23T17:47:30.720Z","dependent_packages_count":1,"downloads":null,"downloads_period":null,"dependent_repos_count":9,"rankings":{"downloads":null,"dependent_repos_count":1.7800070930664238,"dependent_packages_count":5.149006244802047,"stargazers_count":0.043261390091170526,"forks_count":0.04647746465430311,"docker_downloads_count":null,"average":1.7546880481534861},"purl":"pkg:golang/github.com/halfrost/LeetCode-Go/structures","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/halfrost/LeetCode-Go/structures","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/halfrost/LeetCode-Go/structures","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/halfrost/LeetCode-Go/structures/dependencies","status":null,"funding_links":["https://github.com/sponsors/halfrost"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-23T12:34:02.916Z","issues_count":37,"pull_requests_count":98,"avg_time_to_close_issue":43272768.40740741,"avg_time_to_close_pull_request":1462239.9090909092,"issues_closed_count":27,"pull_requests_closed_count":88,"pull_request_authors_count":33,"issue_authors_count":35,"avg_comments_per_issue":2.891891891891892,"avg_comments_per_pull_request":0.46938775510204084,"merged_pull_requests_count":72,"bot_issues_count":0,"bot_pull_requests_count":10,"past_year_issues_count":0,"past_year_pull_requests_count":8,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":844213.5,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":4,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.25,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":8,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfrost%2FLeetCode-Go/issues","maintainers":[{"login":"halfrost","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/halfrost"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhalfrost%2FLeetCode-Go%2Fstructures/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhalfrost%2FLeetCode-Go%2Fstructures/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhalfrost%2FLeetCode-Go%2Fstructures/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhalfrost%2FLeetCode-Go%2Fstructures/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhalfrost%2FLeetCode-Go%2Fstructures/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhalfrost%2FLeetCode-Go%2Fstructures/codemeta","maintainers":[]}