{"id":31825224,"url":"https://github.com/whisperpine/leetcode-py","last_synced_at":"2025-10-11T15:56:54.026Z","repository":{"id":317543384,"uuid":"1067475665","full_name":"whisperpine/leetcode-py","owner":"whisperpine","description":"LeetCode problem solutions in Rust.","archived":false,"fork":false,"pushed_at":"2025-10-01T14:18:40.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T16:18:49.544Z","etag":null,"topics":["algorithms","data-structures","dsa","leetcode","neetcode","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/whisperpine.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":"2025-09-30T23:07:28.000Z","updated_at":"2025-10-01T14:18:43.000Z","dependencies_parsed_at":"2025-10-01T16:32:53.757Z","dependency_job_id":null,"html_url":"https://github.com/whisperpine/leetcode-py","commit_stats":null,"previous_names":["whisperpine/leetcode-py"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/whisperpine/leetcode-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fleetcode-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fleetcode-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fleetcode-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fleetcode-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whisperpine","download_url":"https://codeload.github.com/whisperpine/leetcode-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fleetcode-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007617,"owners_count":26084336,"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-11T02:00:06.511Z","response_time":55,"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","data-structures","dsa","leetcode","neetcode","python"],"created_at":"2025-10-11T15:56:52.405Z","updated_at":"2025-10-11T15:56:54.018Z","avatar_url":"https://github.com/whisperpine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode Python\n\nAn ongoing list of LeetCode problem solutions in Python.\n\n## NeetCode Roadmap\n\nRefer to [NeetCode Roadmap](https://neetcode.io/roadmap).\n\n## Get Started\n\nSolutions for LeetCode problems are written in files under [./tests](./tests/)\nrespectively. This means that pytest can run test cases for a specific LeetCode\nproblem. But for comprehensive tests, you should copy the code to LeetCode live\neditor and submit. See [LeetCode problem set](https://leetcode.com/problemset/).\n\nThere are several ways to run tests:\n\n```sh\n# Run all test cases.\npytest\n# Run test cases in a given file.\npytest path/to/test_file.py\n# Run a specific test case in a given file.\npytest path/to/test_file.py::test_function_name\n```\n\n## Table of Problems\n\n### Array \u0026 Hash\n\n| Problem | Difficulty | Solution |\n| - | - | - |\n| 1. Two Sum | Easy | [1_two_sum.py](./tests/1_two_sum.py) |\n| 217. Contains Duplicate | Easy | [217_contains_duplicate.py](./tests/217_contains_duplicate.py) |\n| 242. Valid Anagram | Easy | [242_valid_anagram.py](./tests/242_valid_anagram.py) |\n| 49. Group Anagrams | Medium | [49_group_anagrams.py](./tests/49_group_anagrams.py) |\n| 347. Top K Frequent Elements | Medium | [347_top_k_frequent_elements.py](./tests/347_top_k_frequent_elements.py) |\n| 238. Product of Array Except Self | Medium | [238_product_of_array_except_self.py](./tests/238_product_of_array_except_self.py) |\n| 128. Longest Consecutive Sequence | Medium | [128_longest_consecutive_sequence.py](./tests/128_longest_consecutive_sequence.py) |\n\n### Two Pointers\n\n| Problem | Difficulty | Solution |\n| - | - | - |\n| 125. Valid Palindrome | Easy | [125_valid_palindrome.py](./tests/125_valid_palindrome.py) |\n| 15. 3Sum | Medium | [15_3sum.py](./tests/15_3sum.py) |\n\n### Stack\n\n| Problem | Difficulty | Solution |\n| - | - | - |\n| 20. Valid Parentheses | Easy | [20_valid_parentheses.py](./tests/20_valid_parentheses.py) |\n\n### Binary Search\n\n| Problem | Difficulty | Solution |\n| - | - | - |\n| 704. Binary Search | Easy | [704_binary_search.py](./tests/704_binary_search.py) |\n| 74. Search a 2D Matrix | Medium | [74_search_a_2d_matrix.py](./tests/74_search_a_2d_matrix.py) |\n\n### Sliding Window\n\n| Problem | Difficulty | Solution |\n| - | - | - |\n| 121. Best Time to Buy and Sell Stock | Easy | [121_best_time_to_buy_and_sell_stock.py](./tests/121_best_time_to_buy_and_sell_stock.py) |\n| 3. Longest Substring Without Repeating Characters | Medium | [3_longest_substring_without_repeating_characters.py](./tests/3_longest_substring_without_repeating_characters.py) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisperpine%2Fleetcode-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhisperpine%2Fleetcode-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisperpine%2Fleetcode-py/lists"}