{"docsConfig":{"theme":"mint","$schema":"https://www.mintlify.com/docs.json","name":"leetcode-py","description":"Modern Python LeetCode practice environment with automated problem generation, beautiful data structure visualizations, and comprehensive testing","colors":{"primary":"#3776AB","light":"#5A94C4","dark":"#387EB8"},"logo":{"light":"https://mintcdn.com/leetcode-py/aJKJ4BOUnXP-zM3G/img/brand/leetcode-py-lockup.svg?fit=max\u0026auto=format\u0026n=aJKJ4BOUnXP-zM3G\u0026q=85\u0026s=34c74a404ed256642a54345a92489c97","dark":"https://mintcdn.com/leetcode-py/aJKJ4BOUnXP-zM3G/img/brand/leetcode-py-lockup-dark.svg?fit=max\u0026auto=format\u0026n=aJKJ4BOUnXP-zM3G\u0026q=85\u0026s=263c5757fbf5e547de96291651e279e9"},"favicon":"https://mintcdn.com/leetcode-py/VCrzlUI648LnF7Pk/favicon.svg?fit=max\u0026auto=format\u0026n=VCrzlUI648LnF7Pk\u0026q=85\u0026s=3b1dffe162e80798a504a810fcbeba45","background":{"color":{"light":"#F8F9FB","dark":"#0D1117"}},"navbar":{"links":[{"href":"https://github.com/wislertt/leetcode-py","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/wislertt/leetcode-py"},"links":[{"header":"Resources","items":[{"label":"PyPI","href":"https://pypi.org/project/leetcode-py-sdk"},{"label":"Why leetcode-py","href":"/getting-started/why-leetcode-py"},{"label":"Made by Wisaroot Lertthaweedech","href":"https://wisl.dev"}]}]},"seo":{"metatags":{"canonical":"https://leetcode-py.wisl.dev","og:image":"https://leetcode-py.wisl.dev/img/brand/og-card-light.png","twitter:card":"summary_large_image"},"organization":{"url":"https://leetcode-py.wisl.dev","sameAs":["https://github.com/wislertt/leetcode-py","https://pypi.org/project/leetcode-py-sdk/","https://wisl.dev"]},"indexing":"all"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"metadata":{"timestamp":true},"markdown":{"instructions":["leetcode-py is a Python LeetCode practice environment generator with one CLI: lcpy. It is not a service or platform.","Each problem is a directory under leetcode/ with README.md, solution.py, test_solution.py, helpers.py, and playground.ipynb. lcpy gen creates them from JSON templates bundled with the package.","Examples are backed by tests; copy them verbatim."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leetcode-py","hasAudioNarration":false,"actualSubdomain":"leetcode-py","customDomains":["leetcode-py.wisl.dev"],"gitSource":{"type":"github","owner":"wislertt","repo":"leetcode-py","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aeadd835fa1f5f231996c95","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Catalog","count":13},{"language":"default","tag":"Practice","count":5},{"language":"default","tag":"Troubleshooting","count":5},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"CLI","count":2},{"language":"default","tag":"Contributing","count":2},{"language":"default","tag":"Welcome","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".sd-catalog-table th:first-child,.sd-catalog-table td:first-child{min-width:0;width:3rem}html.dark .sd-hero-light{display:none}html:not(.dark) .sd-hero-dark{display:none}.sd-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;margin:0 0 16px;padding:0}.sd-badges a,.sd-badges a:hover,.sd-badges a:visited{display:inline-flex;flex:0 0 auto;line-height:0;height:auto!important;max-height:24px;padding:0!important;margin:0!important;text-decoration:none!important;border-bottom:none!important;background:none!important;background-image:none!important}.sd-badges img{height:20px;width:auto;max-width:none;display:block;margin:0!important}.sd-preview{border:1px solid #387eb8;border-radius:10px}"}],"page":{"pagePath":"catalog/easy-2","slug":"/catalog/easy-2","pageMetadata":{"title":"Easy LeetCode Problems in Python, Part 2","sidebarTitle":"Easy (201-309)","description":"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.","href":"/catalog/easy-2"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Table}=_components;if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Easy holds 309 problems.`}),`\n`,_jsx(`div`,{className:`sd-catalog-table`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`#`}),_jsx(_components.th,{children:`Problem`}),_jsx(_components.th,{children:`Difficulty`}),_jsx(_components.th,{children:`Solution`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`938`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/range-sum-of-bst`,children:`Range Sum of BST`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/range_sum_of_bst/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`941`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/valid-mountain-array`,children:`Valid Mountain Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/valid_mountain_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`942`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/di-string-match`,children:`DI String Match`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/di_string_match/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`944`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/delete-columns-to-make-sorted`,children:`Delete Columns to Make Sorted`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/delete_columns_to_make_sorted/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`953`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/verifying-an-alien-dictionary`,children:`Verifying an Alien Dictionary`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/verifying_an_alien_dictionary/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`961`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/n-repeated-element-in-size-2n-array`,children:`N-Repeated Element in Size 2N Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/n_repeated_element_in_size_2n_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`965`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/univalued-binary-tree`,children:`Univalued Binary Tree`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/univalued_binary_tree/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`976`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/largest-perimeter-triangle`,children:`Largest Perimeter Triangle`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_perimeter_triangle/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`977`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/squares-of-a-sorted-array`,children:`Squares of a Sorted Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/squares_of_a_sorted_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`989`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/add-to-array-form-of-integer`,children:`Add to Array-Form of Integer`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/add_to_array_form_of_integer/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`993`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/cousins-in-binary-tree`,children:`Cousins in Binary Tree`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/cousins_in_binary_tree/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`997`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-the-town-judge`,children:`Find the Town Judge`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_town_judge/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`999`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/available-captures-for-rook`,children:`Available Captures for Rook`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/available_captures_for_rook/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1002`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-common-characters`,children:`Find Common Characters`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_common_characters/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1046`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/last-stone-weight`,children:`Last Stone Weight`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/last_stone_weight/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1051`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/height-checker`,children:`Height Checker`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/height_checker/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1056`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/confusing-number`,children:`Confusing Number`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/confusing_number/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1071`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/gcd-of-strings`,children:`Greatest Common Divisor of Strings`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/gcd_of_strings/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1086`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/high-five`,children:`High Five`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/high_five/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1099`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/two-sum-less-than-k`,children:`Two Sum Less Than K`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/two_sum_less_than_k/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1122`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/relative-sort-array`,children:`Relative Sort Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/relative_sort_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1133`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/largest-unique-number`,children:`Largest Unique Number`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_unique_number/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1134`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/armstrong-number`,children:`Armstrong Number`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/armstrong_number/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1137`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/n-th-tribonacci-number`,children:`N-th Tribonacci Number`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/n_th_tribonacci_number/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1150`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/check-if-a-number-is-majority-element-in-a-sorted-array`,children:`Check If a Number Is Majority Element in a Sorted Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/check_if_a_number_is_majority_element_in_a_sorted_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1160`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-words-that-can-be-formed-by-characters`,children:`Find Words That Can Be Formed by Characters`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_words_that_can_be_formed_by_characters/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1165`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/single-row-keyboard`,children:`Single-Row Keyboard`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/single_row_keyboard/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1167`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-cost-to-connect-sticks`,children:`Minimum Cost to Connect Sticks`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_cost_to_connect_sticks/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1180`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/count-substrings-with-only-one-distinct-letter`,children:`Count Substrings with Only One Distinct Letter`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_substrings_with_only_one_distinct_letter/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1189`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-number-of-balloons`,children:`Maximum Number of Balloons`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_number_of_balloons/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1196`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/how-many-apples-can-you-put-into-the-basket`,children:`How Many Apples Can You Put into the Basket`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/how_many_apples_can_you_put_into_the_basket/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1228`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/missing-number-in-arithmetic-progression`,children:`Missing Number In Arithmetic Progression`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/missing_number_in_arithmetic_progression/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1243`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/array-transformation`,children:`Array Transformation`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/array_transformation/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1260`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/shift-2d-grid`,children:`Shift 2D Grid`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/shift_2d_grid/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1279`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/traffic-light-controlled-intersection`,children:`Traffic Light Controlled Intersection`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/traffic_light_controlled_intersection/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1299`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/replace-elements-with-greatest-element-on-right-side`,children:`Replace Elements with Greatest Element on Right Side`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/replace_elements_with_greatest_element_on_right_side/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1380`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/lucky-numbers-in-a-matrix`,children:`Lucky Numbers in a Matrix`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/lucky_numbers_in_a_matrix/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1394`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-lucky-integer-in-an-array`,children:`Find Lucky Integer in an Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_lucky_integer_in_an_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1408`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/string-matching-in-an-array`,children:`String Matching in an Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/string_matching_in_an_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1422`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-score-after-splitting-a-string`,children:`Maximum Score After Splitting a String`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_score_after_splitting_a_string/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1426`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/counting-elements`,children:`Counting Elements`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/counting_elements/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1427`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/perform-string-shifts`,children:`Perform String Shifts`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/perform_string_shifts/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1436`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/destination-city`,children:`Destination City`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/destination_city/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1460`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/make-two-arrays-equal-by-reversing-subarrays`,children:`Make Two Arrays Equal by Reversing Subarrays`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/make_two_arrays_equal_by_reversing_subarrays/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1470`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/shuffle-the-array`,children:`Shuffle the Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/shuffle_the_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1474`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/delete-n-nodes-after-m-nodes-of-a-linked-list`,children:`Delete N Nodes After M Nodes of a Linked List`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/delete_n_nodes_after_m_nodes_of_a_linked_list/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1475`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/final-prices-with-a-special-discount-in-a-shop`,children:`Final Prices With a Special Discount in a Shop`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/final_prices_with_a_special_discount_in_a_shop/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1496`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/path-crossing`,children:`Path Crossing`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/path_crossing/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1512`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/number-of-good-pairs`,children:`Number of Good Pairs`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_good_pairs/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1518`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/water-bottles`,children:`Water Bottles`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/water_bottles/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1523`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/count-odd-numbers-in-an-interval-range`,children:`Count Odd Numbers in an Interval Range`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_odd_numbers_in_an_interval_range/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1544`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/make-the-string-great`,children:`Make The String Great`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/make_the_string_great/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1572`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/matrix-diagonal-sum`,children:`Matrix Diagonal Sum`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/matrix_diagonal_sum/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1598`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/crawler-log-folder`,children:`Crawler Log Folder`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/crawler_log_folder/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1603`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/design-parking-system`,children:`Design Parking System`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/design_parking_system/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1608`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/special-array-with-x-elements-greater-than-or-equal-x`,children:`Special Array With X Elements Greater Than or Equal X`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/special_array_with_x_elements_greater_than_or_equal_x/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1614`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-nesting-depth-of-the-parentheses`,children:`Maximum Nesting Depth of the Parentheses`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_nesting_depth_of_the_parentheses/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1624`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/largest-substring-between-two-equal-characters`,children:`Largest Substring Between Two Equal Characters`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_substring_between_two_equal_characters/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1636`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/sort-array-by-increasing-frequency`,children:`Sort Array by Increasing Frequency`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_array_by_increasing_frequency/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1637`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/widest-vertical-area-between-two-points-containing-no-points`,children:`Widest Vertical Area Between Two Points Containing No Points`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/widest_vertical_area_between_two_points_containing_no_points/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1652`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/defuse-the-bomb`,children:`Defuse the Bomb`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/defuse_the_bomb/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1662`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/array-strings-are-equal`,children:`Check If Two String Arrays are Equivalent`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/array_strings_are_equal/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1684`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/count-the-number-of-consistent-strings`,children:`Count the Number of Consistent Strings`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_the_number_of_consistent_strings/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1688`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/count-of-matches-in-tournament`,children:`Count of Matches in Tournament`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_of_matches_in_tournament/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1700`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/number-of-students-unable-to-eat-lunch`,children:`Number of Students Unable to Eat Lunch`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_students_unable_to_eat_lunch/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1716`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/calculate-money-in-leetcode-bank`,children:`Calculate Money in Leetcode Bank`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/calculate_money_in_leetcode_bank/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1752`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/check-if-array-is-sorted-and-rotated`,children:`Check if Array Is Sorted and Rotated`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/check_if_array_is_sorted_and_rotated/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1758`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-changes-to-make-alternating-binary-string`,children:`Minimum Changes To Make Alternating Binary String`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_changes_to_make_alternating_binary_string/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1768`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/merge-strings-alternately`,children:`Merge Strings Alternately`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_strings_alternately/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1790`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/check-if-one-string-swap-can-make-strings-equal`,children:`Check if One String Swap Can Make Strings Equal`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/check_if_one_string_swap_can_make_strings_equal/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1800`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-ascending-subarray-sum`,children:`Maximum Ascending Subarray Sum`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_ascending_subarray_sum/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1822`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/sign-of-the-product-of-an-array`,children:`Sign of the Product of an Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/sign_of_the_product_of_an_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1863`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/sum-of-all-subset-xor-totals`,children:`Sum of All Subset XOR Totals`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/sum_of_all_subset_xor_totals/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1897`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/redistribute-characters-to-make-all-strings-equal`,children:`Redistribute Characters to Make All Strings Equal`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/redistribute_characters_to_make_all_strings_equal/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1903`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/largest-odd-number-in-string`,children:`Largest Odd Number in String`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_odd_number_in_string/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1913`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-product-difference-between-two-pairs`,children:`Maximum Product Difference Between Two Pairs`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_product_difference_between_two_pairs/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1929`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/concatenation-of-array`,children:`Concatenation of Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/concatenation_of_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1984`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-difference-between-highest-and-lowest-of-k-scores`,children:`Minimum Difference Between Highest and Lowest of K Scores`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_difference_between_highest_and_lowest_of_k_scores/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2022`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/convert-1d-array-into-2d-array`,children:`Convert 1D Array Into 2D Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/convert_1d_array_into_2d_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2037`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-number-of-moves-to-seat-everyone`,children:`Minimum Number of Moves to Seat Everyone`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_number_of_moves_to_seat_everyone/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2053`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/kth-distinct-string-in-an-array`,children:`Kth Distinct String in an Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/kth_distinct_string_in_an_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2073`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/time-needed-to-buy-tickets`,children:`Time Needed to Buy Tickets`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/time_needed_to_buy_tickets/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2108`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-first-palindromic-string-in-the-array`,children:`Find First Palindromic String in the Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_first_palindromic_string_in_the_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2185`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/counting-words-with-a-given-prefix`,children:`Counting Words With a Given Prefix`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/counting_words_with_a_given_prefix/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2206`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/divide-array-into-equal-pairs`,children:`Divide Array Into Equal Pairs`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/divide_array_into_equal_pairs/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2215`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-the-difference-of-two-arrays`,children:`Find the Difference of Two Arrays`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_the_difference_of_two_arrays/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2220`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-bit-flips-to-convert-number`,children:`Minimum Bit Flips to Convert Number`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_bit_flips_to_convert_number/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2264`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/largest-3-same-digit-number-in-string`,children:`Largest 3-Same-Digit Number in String`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_3_same_digit_number_in_string/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2331`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/evaluate-boolean-binary-tree`,children:`Evaluate Boolean Binary Tree`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/evaluate_boolean_binary_tree/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2373`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/largest-local-values-in-a-matrix`,children:`Largest Local Values in a Matrix`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/largest_local_values_in_a_matrix/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2379`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-recolors-to-get-k-consecutive-black-blocks`,children:`Minimum Recolors to Get K Consecutive Black Blocks`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_recolors_to_get_k_consecutive_black_blocks/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2418`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/sort-the-people`,children:`Sort the People`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/sort_the_people/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2460`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/apply-operations-to-an-array`,children:`Apply Operations to an Array`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/apply_operations_to_an_array/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2490`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/circular-sentence`,children:`Circular Sentence`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/circular_sentence/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2558`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/take-gifts-from-the-richest-pile`,children:`Take Gifts From the Richest Pile`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/take_gifts_from_the_richest_pile/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2570`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/merge-two-2d-arrays-by-summing-values`,children:`Merge Two 2D Arrays by Summing Values`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/merge_two_2d_arrays_by_summing_values/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2678`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/number-of-senior-citizens`,children:`Number of Senior Citizens`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/number_of_senior_citizens/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2696`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/minimum-string-length-after-removing-substrings`,children:`Minimum String Length After Removing Substrings`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/minimum_string_length_after_removing_substrings/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2706`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/buy-two-chocolates`,children:`Buy Two Chocolates`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/buy_two_chocolates/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2864`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-odd-binary-number`,children:`Maximum Odd Binary Number`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_odd_binary_number/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2965`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/find-missing-and-repeated-values`,children:`Find Missing and Repeated Values`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/find_missing_and_repeated_values/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3042`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/count-prefix-and-suffix-pairs-i`,children:`Count Prefix and Suffix Pairs I`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_prefix_and_suffix_pairs_i/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3105`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/longest-monotonic-subarray`,children:`Longest Strictly Increasing or Strictly Decreasing Subarray`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/longest_monotonic_subarray/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3110`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/score-of-a-string`,children:`Score of a String`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/score_of_a_string/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3151`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/special-array-i`,children:`Special Array I`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/special_array_i/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3174`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/clear-digits`,children:`Clear Digits`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/clear_digits/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3199`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/count-triplets-with-even-xor-set-bits-i`,children:`Count Triplets with Even XOR Set Bits I`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/count_triplets_with_even_xor_set_bits_i/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3264`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/final-array-state-after-k-multiplication-operations-i`,children:`Final Array State After K Multiplication Operations I`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/final_array_state_after_k_multiplication_operations_i/solution.py`,children:`solution.py`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3442`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/problems/maximum-difference-between-even-and-odd-frequency-i`,children:`Maximum Difference Between Even and Odd Frequency I`})}),_jsx(_components.td,{children:`Easy`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://github.com/wislertt/leetcode-py/blob/main/leetcode/maximum_difference_between_even_and_odd_frequency_i/solution.py`,children:`solution.py`})})]})]})]})}),`\n`,_jsxs(_components.p,{children:[`Pages: `,_jsx(_components.a,{href:`/catalog/easy`,children:`1`}),`, 2`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Easy LeetCode Problems in Python, Part 2","sidebarTitle":"Easy (201-309)","description":"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.","href":"/catalog/easy-2"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"leetcode-py","siteName":"leetcode-py","title":"Easy LeetCode Problems in Python, Part 2 - leetcode-py","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-03T08:39:40.968Z","gitLastModified":"2026-09-03T08:38:22.000Z","originalFileLocation":"catalog/easy-2.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.\">\u003cmeta data-mint-head name=\"application-name\" content=\"leetcode-py\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Easy LeetCode Problems in Python, Part 2 - leetcode-py\">\u003cmeta data-mint-head property=\"og:description\" content=\"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"leetcode-py\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://leetcode-py.wisl.dev/catalog/easy-2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leetcode-py.wisl.dev/img/brand/og-card-light.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Easy LeetCode Problems in Python, Part 2 - leetcode-py\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leetcode-py.wisl.dev/img/brand/og-card-light.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/leetcode-py/MPF4VdYq1xxotsp3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"leetcode-py\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3776AB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://leetcode-py.wisl.dev/catalog/easy-2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/catalog/easy-2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://leetcode-py.wisl.dev/#organization\",\"name\":\"leetcode-py\",\"url\":\"https://leetcode-py.wisl.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leetcode-py/aJKJ4BOUnXP-zM3G/img/brand/leetcode-py-lockup.svg?fit=max\u0026auto=format\u0026n=aJKJ4BOUnXP-zM3G\u0026q=85\u0026s=34c74a404ed256642a54345a92489c97\"},\"sameAs\":[\"https://github.com/wislertt/leetcode-py\",\"https://pypi.org/project/leetcode-py-sdk/\",\"https://wisl.dev\"]},{\"@type\":\"WebSite\",\"@id\":\"https://leetcode-py.wisl.dev#website\",\"name\":\"leetcode-py\",\"url\":\"https://leetcode-py.wisl.dev\",\"publisher\":{\"@id\":\"https://leetcode-py.wisl.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://leetcode-py.wisl.dev/catalog/easy-2#webpage\",\"url\":\"https://leetcode-py.wisl.dev/catalog/easy-2\",\"name\":\"Easy LeetCode Problems in Python, Part 2\",\"description\":\"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.\",\"dateModified\":\"2026-09-03T08:38:22.000Z\",\"isPartOf\":{\"@id\":\"https://leetcode-py.wisl.dev#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://leetcode-py.wisl.dev/catalog/easy-2#article\",\"headline\":\"Easy LeetCode Problems in Python, Part 2\",\"name\":\"Easy LeetCode Problems in Python, Part 2\",\"description\":\"All 309 Easy LeetCode problems with tested Python solutions. Part 2 of 2: problems 201-309.\",\"url\":\"https://leetcode-py.wisl.dev/catalog/easy-2\",\"mainEntityOfPage\":{\"@id\":\"https://leetcode-py.wisl.dev/catalog/easy-2#webpage\"},\"image\":\"https://leetcode-py.wisl.dev/img/brand/og-card-light.png\",\"dateModified\":\"2026-09-03T08:38:22.000Z\",\"publisher\":{\"@id\":\"https://leetcode-py.wisl.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://leetcode-py.wisl.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"leetcode-py\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"leetcode-py","nav":{"global":null,"groups":[{"group":"Welcome","pages":[{"title":"LeetCode Practice Environments in Python","sidebarTitle":"leetcode-py","href":"/index"}]},{"group":"Getting Started","pages":[{"title":"Install the lcpy CLI via pip or uv","sidebarTitle":"Installation","href":"/getting-started/installation"},{"title":"lcpy Quickstart: First Problem in 5 Commands","sidebarTitle":"Quickstart","href":"/getting-started/quickstart"},{"title":"LeetCode Practice Environment vs a Bare Editor","sidebarTitle":"Why leetcode-py","href":"/getting-started/why-leetcode-py"}]},{"group":"Practice","pages":[{"title":"Anatomy of a problem","href":"/practice/problem-anatomy"},{"title":"Test LeetCode Solutions Locally with pytest","sidebarTitle":"Test locally","href":"/practice/test-locally"},{"title":"LeetCode Python Test Cases with pytest","sidebarTitle":"Testing","href":"/practice/testing"},{"title":"Visualizations","href":"/practice/visualizations"},{"title":"Notebooks","href":"/practice/notebooks"}]},{"group":"CLI","pages":[{"title":"lcpy CLI: Generate and List Problems","sidebarTitle":"lcpy","href":"/cli/lcpy"},{"title":"Blind 75, Grind 75, NeetCode and Others","sidebarTitle":"Collections","href":"/cli/collections"}]},{"group":"Catalog","pages":[{"title":"LeetCode Problem Catalog: All Collections","sidebarTitle":"Catalog","href":"/catalog/index"},{"title":"All LeetCode Problems in Python with Tests","sidebarTitle":"All Problems","href":"/catalog/all"},{"title":"Easy LeetCode Problems in Python with Tests","sidebarTitle":"Easy","href":"/catalog/easy"},{"title":"Medium LeetCode Problems in Python with Tests","sidebarTitle":"Medium","href":"/catalog/medium"},{"title":"Hard LeetCode Problems in Python with Tests","sidebarTitle":"Hard","href":"/catalog/hard"},{"title":"Topics","href":"/catalog/topics"},{"title":"Grind 75 in Python with Tested Solutions","sidebarTitle":"Grind 75","href":"/catalog/grind-75"},{"title":"Grind Collection in Python: Tested Solutions","sidebarTitle":"Grind","href":"/catalog/grind"},{"title":"Blind 75 in Python with Tested Solutions","sidebarTitle":"Blind 75","href":"/catalog/blind-75"},{"title":"NeetCode 150 in Python with Tested Solutions","sidebarTitle":"NeetCode 150","href":"/catalog/neetcode-150"},{"title":"NeetCode 250 in Python with Tested Solutions","sidebarTitle":"NeetCode 250","href":"/catalog/neetcode-250"},{"title":"NeetCode All in Python with Tested Solutions","sidebarTitle":"NeetCode All","href":"/catalog/neetcode"},{"title":"AlgoMaster 75 in Python with Tested Solutions","sidebarTitle":"AlgoMaster 75","href":"/catalog/algo-master-75"}]},{"group":"Contributing","pages":[{"title":"Add a New LeetCode Problem End to End","sidebarTitle":"Problem creation","href":"/contributing/problem-creation"},{"title":"Contributor Reference: bakefile Tasks","sidebarTitle":"bakefile","href":"/contributing/bakefile"}]},{"group":"Troubleshooting","pages":[{"title":"lcpy Errors and Troubleshooting","sidebarTitle":"Troubleshooting","href":"/troubleshooting/index"},{"title":"lcpy gen Error: Problem Not Found","sidebarTitle":"Problem not found","href":"/troubleshooting/unknown-problem"},{"title":"lcpy gen Error: Problem Already Exists","sidebarTitle":"Already exists","href":"/troubleshooting/files-already-exist"},{"title":"Visualizations Show ASCII Instead of Diagrams","sidebarTitle":"ASCII diagrams","href":"/troubleshooting/graphviz-missing"},{"title":"Playground Notebook Cells Do Not Render","sidebarTitle":"Notebook cells","href":"/troubleshooting/notebook-cells"}]}]},"basePath":"","title":"Easy LeetCode Problems in Python, Part 2 - leetcode-py","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":[],"chunks":[]}