{"id":17950,"url":"https://github.com/TheAlgorithms/C","last_synced_at":"2026-07-13T12:20:17.291Z","repository":{"id":37412452,"uuid":"63477515","full_name":"TheAlgorithms/C","owner":"TheAlgorithms","description":"Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.","archived":false,"fork":false,"pushed_at":"2024-08-07T21:56:16.000Z","size":20365,"stargazers_count":20845,"open_issues_count":26,"forks_count":4593,"subscribers_count":527,"default_branch":"master","last_synced_at":"2025-09-17T12:44:42.138Z","etag":null,"topics":["algorithm-challenges","algorithm-competitions","algorithms","c","community-driven","computer-science","data-structures","datastructures","education","educational","hacktoberfest","interview","interview-questions","learn-to-code","machine-learning","machine-learning-algorithms","mathematics","search","sort"],"latest_commit_sha":null,"homepage":"https://thealgorithms.github.io/C","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","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},"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:17:03.000Z","updated_at":"2025-09-17T11:55:36.000Z","dependencies_parsed_at":"2023-02-19T06:45:55.629Z","dependency_job_id":"67331d01-569e-4e41-ae67-a92b38db4eb2","html_url":"https://github.com/TheAlgorithms/C","commit_stats":{"total_commits":1241,"total_committers":250,"mean_commits":4.964,"dds":0.8058017727639001,"last_synced_commit":"e5dad3fa8def3726ec850ca66a7f51521f8ad393"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheAlgorithms/C","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","download_url":"https://codeload.github.com/TheAlgorithms/C/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FC/sbom","scorecard":{"id":139785,"data":{"date":"2025-08-11","repo":{"name":"github.com/TheAlgorithms/C","commit":"e5dad3fa8def3726ec850ca66a7f51521f8ad393"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Code-Review","score":8,"reason":"Found 24/30 approved changesets -- score normalized to 8","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:30","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'contents' permission set to 'read': .github/workflows/labeler.yml:8","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/labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/leetcode_directory_writer.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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: project_euler/problem_24/sol1:1"],"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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/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/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/awesome_workflow.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C/awesome_workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C/awesome_workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/awesome_workflow.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C/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/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/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/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/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/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/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/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/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/labeler.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C/labeler.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/leetcode_directory_writer.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C/leetcode_directory_writer.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/leetcode_directory_writer.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/C/leetcode_directory_writer.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/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: pipCommand not pinned by hash: .github/workflows/leetcode_directory_writer.yml:23","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 pipCommand 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":"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":"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":"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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 26 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.579Z","repository_id":37412452,"created_at":"2025-08-16T07:41:00.579Z","updated_at":"2025-08-16T07:41:00.579Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019261,"owners_count":26086576,"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-challenges","algorithm-competitions","algorithms","c","community-driven","computer-science","data-structures","datastructures","education","educational","hacktoberfest","interview","interview-questions","learn-to-code","machine-learning","machine-learning-algorithms","mathematics","search","sort"],"created_at":"2024-01-11T18:54:51.315Z","updated_at":"2025-10-14T12:21:56.600Z","avatar_url":"https://github.com/TheAlgorithms.png","language":"C","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/17950","html_url":"https://opencollective.ecosyste.ms/projects/17950","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-23T12:15:15.926Z","created_at":"2024-01-10T13:17:52.340Z","updated_at":"2026-07-23T12:15:16.150Z","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"}}