{"id":36876496,"url":"https://github.com/skeletongo/datastructure","last_synced_at":"2026-01-12T15:10:16.945Z","repository":{"id":37372638,"uuid":"178538509","full_name":"skeletongo/datastructure","owner":"skeletongo","description":"go语言版数据结构","archived":false,"fork":false,"pushed_at":"2022-06-21T03:54:58.000Z","size":200,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T03:16:18.574Z","etag":null,"topics":["array","avltree","bst","heap","queue","red-black","segment","stack","trie","union-find"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skeletongo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-30T09:30:14.000Z","updated_at":"2022-01-22T02:56:15.000Z","dependencies_parsed_at":"2022-08-19T14:11:13.740Z","dependency_job_id":null,"html_url":"https://github.com/skeletongo/datastructure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skeletongo/datastructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skeletongo%2Fdatastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skeletongo%2Fdatastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skeletongo%2Fdatastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skeletongo%2Fdatastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skeletongo","download_url":"https://codeload.github.com/skeletongo/datastructure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skeletongo%2Fdatastructure/sbom","scorecard":{"id":829325,"data":{"date":"2025-08-11","repo":{"name":"github.com/skeletongo/datastructure","commit":"3a35a7818b1f611d7da6e27a2d6f18a1431ec7ad"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"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-23T17:18:52.556Z","repository_id":37372638,"created_at":"2025-08-23T17:18:52.557Z","updated_at":"2025-08-23T17:18:52.557Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["array","avltree","bst","heap","queue","red-black","segment","stack","trie","union-find"],"created_at":"2026-01-12T15:10:16.838Z","updated_at":"2026-01-12T15:10:16.936Z","avatar_url":"https://github.com/skeletongo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dataStructure\n### 常用数据结构实现\n#### 1.动态数组√  \n#### 2.单向链表-  \n#### 3.双向链表-  \n#### 4.循环链表-  \n\u003e + 链表实现可以看标准库container/list  \n#### 5.栈√  \n#### 6.队列√  \n#### 7.二分搜索树√  \n#### 8.堆√  \n\u003e + 堆实现可以看标准库container/heap  \n\u003e + 是一种优先队列，利用数组实现的完全二叉树\n\u003e + 通过添加元素元素上浮和取出元素元素下沉两个操作维护堆的性质\n#### 9.一维线段树√  \n\u003e + 适用场景，对静态数据中的某个区间进行统计查询\n\u003e + 利用空间换时间的思想，将预处理结果组织成平衡二叉树的数据结构\n#### 10.Trie字典树√  \n\u003e + 以单个字符作为节点的多叉树\n#### 11.并查集√  \n\u003e + 由子节点指向父节点的多叉树\n#### 12.AVL树√   \n\u003e + 是一种平衡二叉树\n\u003e + 引入平衡因子的概念：当前节点的平衡因子大小 = 当前节点左子树的高度 - 当前节点右子树的高度\n\u003e + 所有节点的平衡因子大小的绝对值要小于等于1\n\u003e + 四种需要维护节点平衡性的情况：LL,RR,LR,RL\n#### 13.2-3树(左倾红黑树)√\n#### 14.2-3-4树(红黑树)√  \n#### 15.哈希表√     \n#### 16.B树√\n#### 17.B+树\n#### 18.滑动窗口√\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskeletongo%2Fdatastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskeletongo%2Fdatastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskeletongo%2Fdatastructure/lists"}