{"id":17972,"url":"https://github.com/TheAlgorithms/C-Plus-Plus","last_synced_at":"2026-07-13T12:20:39.576Z","repository":{"id":37269938,"uuid":"63477612","full_name":"TheAlgorithms/C-Plus-Plus","owner":"TheAlgorithms","description":"Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.","archived":false,"fork":false,"pushed_at":"2025-09-25T07:15:47.000Z","size":140115,"stargazers_count":32966,"open_issues_count":28,"forks_count":7517,"subscribers_count":511,"default_branch":"master","last_synced_at":"2025-09-25T09:14:04.426Z","etag":null,"topics":["algorithm","algorithm-competitions","algorithms-implemented","artificial-intelligence-algorithms","computer-science","cpp","data-structures","educational","instructor-materials","interview-preparation","interview-questions","machine-learning","machine-learning-algorithms","mathematics","search","sort"],"latest_commit_sha":null,"homepage":"https://thealgorithms.github.io/C-Plus-Plus","language":"C++","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/TheAlgorithms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"TheAlgorithms","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-07-16T10:19:45.000Z","updated_at":"2025-09-25T08:34:16.000Z","dependencies_parsed_at":"2022-07-14T08:49:23.938Z","dependency_job_id":"329711ab-17fa-402e-a601-884744e56083","html_url":"https://github.com/TheAlgorithms/C-Plus-Plus","commit_stats":{"total_commits":1471,"total_committers":336,"mean_commits":4.377976190476191,"dds":0.9089055064581917,"last_synced_commit":"e8416052808d1693052fff3023803650e713834a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheAlgorithms/C-Plus-Plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC-Plus-Plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC-Plus-Plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC-Plus-Plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC-Plus-Plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","download_url":"https://codeload.github.com/TheAlgorithms/C-Plus-Plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC-Plus-Plus/sbom","scorecard":{"id":139786,"data":{"date":"2025-08-11","repo":{"name":"github.com/TheAlgorithms/C-Plus-Plus","commit":"f1eddf4d65efa0d6ebc9c93cc94223d24ef22c77"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.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":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","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":7,"reason":"Found 22/29 approved changesets -- score normalized to 7","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:30","Warn: no topLevel permission defined: .github/workflows/approved-label.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/awesome_workflow.yml:4","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/directory_writer.yml:1","Warn: no topLevel permission defined: .github/workflows/gh-pages.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.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":"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":"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"}},{"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/approved-label.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/approved-label.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/awesome_workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/awesome_workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/awesome_workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/awesome_workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/directory_writer.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/directory_writer.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/directory_writer.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/directory_writer.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C-Plus-Plus/stale.yml/master?enable=pin","Warn: containerImage not pinned by hash: .gitpod.dockerfile:1: pin your Docker image by updating gitpod/workspace-full-vnc to gitpod/workspace-full-vnc@sha256:f81841b8299823e97e00a1f39dec6dc57d3b0cb6bcc79161a5d155b29ad34b8b","Warn: pipCommand not pinned by hash: .gitpod.dockerfile:3-11","Warn: downloadThenRun not pinned by hash: .github/workflows/awesome_workflow.yml:29","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   0 out of   1 containerImage 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":"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":-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":"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":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 27 commits out of 30 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"}}]},"last_synced_at":"2025-08-16T07:41:00.958Z","repository_id":37269938,"created_at":"2025-08-16T07:41:00.958Z","updated_at":"2025-08-16T07:41:00.958Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020347,"owners_count":26086864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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"}},"keywords":["algorithm","algorithm-competitions","algorithms-implemented","artificial-intelligence-algorithms","computer-science","cpp","data-structures","educational","instructor-materials","interview-preparation","interview-questions","machine-learning","machine-learning-algorithms","mathematics","search","sort"],"created_at":"2024-01-11T18:54:55.400Z","updated_at":"2025-10-14T18:21:09.299Z","avatar_url":"https://github.com/TheAlgorithms.png","language":"C++","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/17972","html_url":"https://opencollective.ecosyste.ms/projects/17972","collective":{"id":2427,"uuid":"vjrkx5lm-nv904qjd-7kzq8bwa-7zdygoe3","slug":"thealgorithms","name":"The Algorithms","description":"Open Source resource for learning Data Structures \u0026 Algorithms and their implementation in any Programming Language","website":"","github":"TheAlgorithms","twitter":null,"repository_url":null,"social_links":[{"type":"GITHUB","url":"https://github.com/TheAlgorithms"}],"currency":"USD","projects_count":49,"last_synced_at":"2026-07-28T06:15:15.173Z","created_at":"2024-01-10T13:17:52.340Z","updated_at":"2026-07-28T06:15:15.877Z","transactions_count":0,"balance":0.0,"account_type":"COLLECTIVE","owner":{"login":"TheAlgorithms","name":"The Algorithms","uuid":"20487725","kind":"organization","description":"Open Source resource for learning Data Structures \u0026 Algorithms and their implementation in any Programming Language","email":"hello@the-algorithms.com","website":"https://the-algorithms.com/","location":"India","twitter":"the_algorithms","company":null,"icon_url":"https://avatars.githubusercontent.com/u/20487725?v=4","repositories_count":48,"last_synced_at":"2024-10-29T20:08:23.955Z","metadata":{"has_sponsors_listing":false,"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"TheAlgorithms","issuehunt":null,"otechie":null,"custom":null}},"html_url":"https://github.com/TheAlgorithms","funding_links":["https://liberapay.com/TheAlgorithms"],"total_stars":370623,"followers":42583,"following":0,"created_at":"2022-11-14T05:56:19.782Z","updated_at":"2024-10-29T20:08:23.955Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms/repositories"},"last_project_activity_at":"2025-10-04T18:13:58.000Z","archived":false,"no_funding":false,"no_license":false,"host":null,"collective_created_at":"2019-07-06T06:53:12.909Z","collective_updated_at":"2024-07-23T00:38:24.578Z","html_url":"https://opencollective.com/thealgorithms","icon_url":"https://images.opencollective.com/thealgorithms/logo/40.png","total_donations":0.0,"total_expenses":0.0,"current_balance":0.0,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/thealgorithms","url":"https://opencollective.ecosyste.ms/collectives/thealgorithms","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/thealgorithms/projects"}}