{"id":18666449,"url":"https://github.com/spezifisch/leetcode-problems","last_synced_at":"2025-11-06T13:30:27.772Z","repository":{"id":40648727,"uuid":"174756494","full_name":"spezifisch/leetcode-problems","owner":"spezifisch","description":"My solutions to some leetcode.com coding problems, mostly Python/Go","archived":false,"fork":false,"pushed_at":"2022-06-30T17:35:42.000Z","size":438,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T17:45:29.320Z","etag":null,"topics":["algorithm","algorithms","golang","leetcode","leetcode-solutions","python"],"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/spezifisch.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":"2019-03-09T23:18:17.000Z","updated_at":"2022-06-03T04:39:12.000Z","dependencies_parsed_at":"2022-08-27T01:42:27.894Z","dependency_job_id":null,"html_url":"https://github.com/spezifisch/leetcode-problems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spezifisch%2Fleetcode-problems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spezifisch%2Fleetcode-problems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spezifisch%2Fleetcode-problems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spezifisch%2Fleetcode-problems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spezifisch","download_url":"https://codeload.github.com/spezifisch/leetcode-problems/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239493677,"owners_count":19647995,"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","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","algorithms","golang","leetcode","leetcode-solutions","python"],"created_at":"2024-11-07T08:32:28.730Z","updated_at":"2025-11-06T13:30:27.716Z","avatar_url":"https://github.com/spezifisch.png","language":"Python","readme":"# leetcode-problems\n\nMy solutions to some leetcode.com coding problems, mostly Python/Go.\n\n## Repository Structure\n\nThe directory `name` corresponds to the problem reachable under `https://leetcode.com/problems/\u003cname\u003e/`.\nFor example to see the description of `jewels-and-stones` go to https://leetcode.com/problems/jewels-and-stones/\n\nMy submitted revisions are called `one.py`, `two.py`, etc. (`v1.py`/`go` for newer ones).\n\nMost of the solutions contain the result as a comment on the bottom of the file, for example:\n\n```python\n# Runtime: 96 ms, faster than 98.07% of Python3 online submissions for Array Partition I.\n# Memory Usage: 15.2 MB, less than 5.20% of Python3 online submissions for Array Partition I.\n```\n\nNote that runtime and memory usage given by Leetcode isn't very consistent between runs of the same code.\nSometimes runs a few months later also take longer due to newly added test cases or version upgrades.\n\n## Formatting\n\n```shell\n# install git hook\npip install pre-commit\npre-commit install\n\n# run manually\npre-commit run --all-files\n```\n\nThis autoformats the following code files: Python, C++, Golang.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspezifisch%2Fleetcode-problems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspezifisch%2Fleetcode-problems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspezifisch%2Fleetcode-problems/lists"}