{"id":49740424,"url":"https://github.com/abuelhassan/competitive-programming-golang","last_synced_at":"2026-05-09T18:12:07.450Z","repository":{"id":180008780,"uuid":"256654094","full_name":"abuelhassan/competitive-programming-golang","owner":"abuelhassan","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-18T04:10:36.000Z","size":66,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-18T20:29:11.682Z","etag":null,"topics":["algorithms","competitive-programming","golang","leetcode"],"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/abuelhassan.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,"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}},"created_at":"2020-04-18T02:33:43.000Z","updated_at":"2026-03-18T04:10:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf1f03bc-4f6e-42b4-a5bd-057a682a1e32","html_url":"https://github.com/abuelhassan/competitive-programming-golang","commit_stats":null,"previous_names":["abuelhassan/competitive-programming-golang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abuelhassan/competitive-programming-golang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abuelhassan%2Fcompetitive-programming-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abuelhassan%2Fcompetitive-programming-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abuelhassan%2Fcompetitive-programming-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abuelhassan%2Fcompetitive-programming-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abuelhassan","download_url":"https://codeload.github.com/abuelhassan/competitive-programming-golang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abuelhassan%2Fcompetitive-programming-golang/sbom","scorecard":{"id":161983,"data":{"date":"2025-08-11","repo":{"name":"github.com/abuelhassan/competitive-programming-golang","commit":"51b4e69245253679529b99eac80122dc7e06a194"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"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":"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":-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":"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":"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":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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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-16T13:44:32.488Z","repository_id":180008780,"created_at":"2025-08-16T13:44:32.489Z","updated_at":"2025-08-16T13:44:32.489Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32829731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["algorithms","competitive-programming","golang","leetcode"],"created_at":"2026-05-09T18:12:06.740Z","updated_at":"2026-05-09T18:12:07.438Z","avatar_url":"https://github.com/abuelhassan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## The Inclusion-Exclusion Principle\n\n##### Problems\n\n- [X] SPOJ: [EASYMATH](https://www.spoj.com/problems/EASYMATH/)\n- [X] SPOJ: [KPRIMESB](https://www.spoj.com/problems/KPRIMESB/)\n- [X] SPOJ: [NGM2](https://www.spoj.com/problems/NGM2/)\n- [X] SPOJ: [SQFREE](https://www.spoj.com/problems/SQFREE/) (Hint: Use Mobius function)\n- [ ] SPOJ: [SUBSET](https://www.spoj.com/problems/SUBSET/)\n- [ ] SPOJ: [IITKWPCH](https://www.spoj.com/problems/IITKWPCH/)\n- [ ] SPOJ: [MSKYCODE](https://www.spoj.com/problems/MSKYCODE/)\n\n##### Resources\n\n- [CP-Algorithms - The Inclusion-Exclusion Principle](https://cp-algorithms.com/combinatorics/inclusion-exclusion.html)\n\n## Divide and Conquer DP\n\n##### Problems\n\n- [X] SPOJ: [LARMY](https://www.spoj.com/problems/LARMY/)\n- [ ] KATTIS: [money](https://open.kattis.com/problems/money)\n\n##### Resources\n\n- [CP-Algorithms - Divide and Conquer DP](https://cp-algorithms.com/dynamic_programming/divide-and-conquer-dp.html)\n\n## Connected components, bridges, articulations points\n\n##### Definitions (that may not be accurate)\n- In a connected undirected graph, a **bridge** is an edge that if removed the graph becomes disconnected.\n- In a connected undirected graph, an **articulation point** or a **cut vertex** is a node that if removed the graph\n  becomes disconnected.\n- A **strongly connected component** is a graph where every two nodes are reachable from each others.\n\n##### Problems\n\n- [X] Leetcode: [Critical Connections in a Network](https://leetcode.com/problems/critical-connections-in-a-network/) (Finding Bridges Offline)\n- [X] Codeforces: [Round 377 - Div2 F - Tourist Reform](https://codeforces.com/contest/732/problem/F) (Strong Orientation)\n\n##### Resources\n\n- [CP-Algorithms - Finding Bridge Offline](https://cp-algorithms.com/graph/bridge-searching.html)\n- [CP-Algorithms - Strong Orientation](https://cp-algorithms.com/graph/strong-orientation.html)\n\n## RMQ\n\n##### Problems\n\n- [X] Spoj: [THRBL](https://www.spoj.com/problems/THRBL/) (Simple - Sparse Table)\n- [X] Codeforces: [Round 475 - Div2 D - CGCDSSQ](https://codeforces.com/contest/475/problem/D) (Binary Search + Sparse Table)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabuelhassan%2Fcompetitive-programming-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabuelhassan%2Fcompetitive-programming-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabuelhassan%2Fcompetitive-programming-golang/lists"}