{"id":24496455,"url":"https://github.com/kubgus/python-algorithms","last_synced_at":"2025-10-08T08:44:25.189Z","repository":{"id":41449691,"uuid":"509620669","full_name":"kubgus/python-algorithms","owner":"kubgus","description":"A collection of algorithms in Python.","archived":false,"fork":false,"pushed_at":"2022-07-17T17:43:47.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T05:44:27.552Z","etag":null,"topics":["algorithms","foobar","leetcode","leetcode-python","leetcode-solutions","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kubgus.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":"2022-07-02T00:28:35.000Z","updated_at":"2023-11-26T15:40:07.000Z","dependencies_parsed_at":"2022-08-28T19:31:35.964Z","dependency_job_id":null,"html_url":"https://github.com/kubgus/python-algorithms","commit_stats":null,"previous_names":["kubgus/python-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kubgus/python-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubgus%2Fpython-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubgus%2Fpython-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubgus%2Fpython-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubgus%2Fpython-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubgus","download_url":"https://codeload.github.com/kubgus/python-algorithms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubgus%2Fpython-algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278916444,"owners_count":26068090,"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-08T02:00:06.501Z","response_time":56,"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","foobar","leetcode","leetcode-python","leetcode-solutions","python","python3"],"created_at":"2025-01-21T21:17:30.869Z","updated_at":"2025-10-08T08:44:25.167Z","avatar_url":"https://github.com/kubgus.png","language":"Python","readme":"\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Python_logo_and_wordmark.svg/2560px-Python_logo_and_wordmark.svg.png\" alt=\"Python Logo\" width=\"500\"/\u003e  \n  \n# Pygorithms\nA little repository I'm going to be working on for the next couple of weeks. (probably)  \nIt's basically a collection of algorithms in Python.  \n\u003cbr\u003e\n\n## It's my code\nThe algorithms are done by me, so they aren't going to be super efficient.  \nFeel free to use them, though...  \n\u003cbr\u003e\n\n## Goals\n\u003ci\u003eProgress: \u003cb\u003e10\u003c/b\u003e\u003c/i\u003e  \n- [x] 1 algorithm  \n- [x] 10 algorithms  \n- [ ] 20 algorithms  \n- [ ] 30 algorithms  \n\u003cbr\u003e\n\n## Example\n```py\ndef removeDuplicates(nums) -\u003e int:\n    curr = -101\n    index = 0\n    for num in nums:\n        prev = curr\n        curr = num\n        if curr != prev:\n            nums[index] = curr\n            index += 1\n    return index\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubgus%2Fpython-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubgus%2Fpython-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubgus%2Fpython-algorithms/lists"}