{"id":25469895,"url":"https://github.com/thinkphp/kadane-algorithm","last_synced_at":"2026-04-27T20:31:16.705Z","repository":{"id":66903055,"uuid":"88822976","full_name":"thinkphp/kadane-algorithm","owner":"thinkphp","description":"Largest Sum Contiguous Subarray.","archived":false,"fork":false,"pushed_at":"2025-01-12T19:49:21.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T14:42:20.180Z","etag":null,"topics":["c","cpp","kadanes-algorithm"],"latest_commit_sha":null,"homepage":"","language":"C","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/thinkphp.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}},"created_at":"2017-04-20T05:06:30.000Z","updated_at":"2025-01-12T19:49:24.000Z","dependencies_parsed_at":"2025-01-08T12:36:08.805Z","dependency_job_id":"dca05b57-e1de-4d0c-b349-c811284a1643","html_url":"https://github.com/thinkphp/kadane-algorithm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thinkphp/kadane-algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fkadane-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fkadane-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fkadane-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fkadane-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkphp","download_url":"https://codeload.github.com/thinkphp/kadane-algorithm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fkadane-algorithm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["c","cpp","kadanes-algorithm"],"created_at":"2025-02-18T08:31:12.644Z","updated_at":"2026-04-27T20:31:16.688Z","avatar_url":"https://github.com/thinkphp.png","language":"C","readme":"Kadane's algorithm\n------------------\nKadane's Algorithm is a popular algorithm used to solve the maximum subarray sum problem efficiently in O(n) time. It finds the largest sum of a contiguous subarray within a one-dimensional array of numbers (both positive and negative).\n\n### Practice\n- https://leetcode.com/problems/maximum-subarray/description/\n- https://infoarena.ro/problema/ssm\n- https://cses.fi/problemset/task/1643\n- https://cses.fi/problemset/task/1644/\n- https://codeforces.com/gym/102961/problem/H\n\n### References:\n- https://www.geeksforgeeks.org/largest-sum-contiguous-subarray/\n- https://en.wikipedia.org/wiki/Maximum_subarray_problem\n- https://www.interviewbit.com/blog/maximum-subarray-sum/\n- https://codeforces.com/blog/entry/13713\n  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Fkadane-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkphp%2Fkadane-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Fkadane-algorithm/lists"}