| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:6c7e72ba-e524-dc8e-235e-c2863debf636 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B4AC:F4210:2EC814:400F36:6B067F67 |
| html-safe-nonce | 613f50c94b45d995c9cc17f74f9686046f02ccc9904e3a0216528888ad9897e9 |
| visitor-payload | eyJyZWZlcnJlciI6bnVsbCwicmVxdWVzdF9pZCI6IkI0QUM6RjQyMTA6MkVDODE0OjQwMEYzNjo2QjA2N0Y2NyIsInZpc2l0b3JfaWQiOiIzMzQ3MDQyNDMzNzIzNTk1MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJjZW50cmFsdXMifQ== |
| visitor-hmac | 0148178b7e84dfc178ae75ffbf26190095609d47e880667097bd5ffbc042ae17 |
| hovercard-subject-tag | repository:338033417 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md |
| twitter:image | https://opengraph.githubassets.com/30fb1d4bd48bd64d83f18de514995f96d0acef49c44f0af60f636432a48a3903/eadst/algorithm-pattern-python |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30fb1d4bd48bd64d83f18de514995f96d0acef49c44f0af60f636432a48a3903/eadst/algorithm-pattern-python |
| og:image:alt | Python version of algorithm-pattern. Contribute to eadst/algorithm-pattern-python development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-cache |
| go-import | github.com/eadst/algorithm-pattern-python git https://github.com/eadst/algorithm-pattern-python.git |
| octolytics-dimension-user_id | 16713428 |
| octolytics-dimension-user_login | eadst |
| octolytics-dimension-repository_id | 338033417 |
| octolytics-dimension-repository_nwo | eadst/algorithm-pattern-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 274371942 |
| octolytics-dimension-repository_parent_nwo | dashidhy/algorithm-pattern-python |
| octolytics-dimension-repository_network_root_id | 272035489 |
| octolytics-dimension-repository_network_root_nwo | greyireland/algorithm-pattern |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#start-of-content |
| https://user:token@github.com/ |
| Sign in | https://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2Feadst%2Falgorithm-pattern-python%2Fblob%2Fpatch-2%2Fbasic_algorithm%2Fdp.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2Feadst%2Falgorithm-pattern-python%2Fblob%2Fpatch-2%2Fbasic_algorithm%2Fdp.md |
| Sign up | https://user:token@github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=eadst%2Falgorithm-pattern-python |
| Reload | https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md |
| Reload | https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md |
| Reload | https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md |
| eadst | https://user:token@github.com/eadst |
| algorithm-pattern-python | https://user:token@github.com/eadst/algorithm-pattern-python |
| Code | https://user:token@github.com/eadst/algorithm-pattern-python |
| Pull requests | https://user:token@github.com/eadst/algorithm-pattern-python/pulls |
| Actions | https://user:token@github.com/eadst/algorithm-pattern-python/actions |
| Projects | https://user:token@github.com/eadst/algorithm-pattern-python/projects |
| Security and quality | https://user:token@github.com/eadst/algorithm-pattern-python/security |
| Insights | https://user:token@github.com/eadst/algorithm-pattern-python/pulse |
| https://user:token@github.com/eadst/algorithm-pattern-python |
| algorithm-pattern-python | https://user:token@github.com/eadst/algorithm-pattern-python/tree/patch-2 |
| basic_algorithm | https://user:token@github.com/eadst/algorithm-pattern-python/tree/patch-2/basic_algorithm |
| History | https://user:token@github.com/eadst/algorithm-pattern-python/commits/patch-2/basic_algorithm/dp.md |
| https://user:token@github.com/eadst/algorithm-pattern-python/commits/patch-2/basic_algorithm/dp.md |
| algorithm-pattern-python | https://user:token@github.com/eadst/algorithm-pattern-python/tree/patch-2 |
| basic_algorithm | https://user:token@github.com/eadst/algorithm-pattern-python/tree/patch-2/basic_algorithm |
| Raw | https://github.com/eadst/algorithm-pattern-python/raw/refs/heads/patch-2/basic_algorithm/dp.md |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#动态规划 |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#背景 |
| triangle | https://leetcode-cn.com/problems/triangle/ |
| https://camo.githubusercontent.com/5891d2ce6c98990b95255b90d42955a2b701a69513fb60e0c943ef4ca06320fd/68747470733a2f2f696d672e667569626f6f6d2e636f6d2f696d672f64705f747269616e676c652e706e67 |
| https://camo.githubusercontent.com/b6f5acae32e5ea70c8064fa0e631c7f31def99c899790c46a93fe7da7c3f431e/68747470733a2f2f696d672e667569626f6f6d2e636f6d2f696d672f64705f64632e706e67 |
| https://camo.githubusercontent.com/b8c3ad6900b20a9bda4adb8cbc93a81a5c908d0afd1ba02cd26499d8e0aefd7f/68747470733a2f2f696d672e667569626f6f6d2e636f6d2f696d672f64705f6d656d6f72795f7365617263682e706e67 |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#递归和动规关系 |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#使用场景 |
| longest-consecutive-sequence | https://leetcode-cn.com/problems/longest-consecutive-sequence/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#四点要素 |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#常见四种类型 |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#1矩阵类型10 |
| minimum-path-sum | https://leetcode-cn.com/problems/minimum-path-sum/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#minimum-path-sum |
| unique-paths | https://leetcode-cn.com/problems/unique-paths/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#unique-paths |
| unique-paths-ii | https://leetcode-cn.com/problems/unique-paths-ii/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#unique-paths-ii |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#2序列类型40 |
| climbing-stairs | https://leetcode-cn.com/problems/climbing-stairs/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#climbing-stairs |
| jump-game | https://leetcode-cn.com/problems/jump-game/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#jump-game |
| jump-game-ii | https://leetcode-cn.com/problems/jump-game-ii/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#jump-game-ii |
| palindrome-partitioning-ii | https://leetcode-cn.com/problems/palindrome-partitioning-ii/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#palindrome-partitioning-ii |
| longest-increasing-subsequence | https://leetcode-cn.com/problems/longest-increasing-subsequence/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#longest-increasing-subsequence |
| word-break | https://leetcode-cn.com/problems/word-break/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#word-break |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#two-sequences-dp40 |
| longest-common-subsequence | https://leetcode-cn.com/problems/longest-common-subsequence/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#longest-common-subsequence |
| edit-distance | https://leetcode-cn.com/problems/edit-distance/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#edit-distance |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#零钱和背包10 |
| coin-change | https://leetcode-cn.com/problems/coin-change/ |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#coin-change |
| backpack | https://www.lintcode.com/problem/backpack/description |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#backpack |
| backpack-ii | https://www.lintcode.com/problem/backpack-ii/description |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#backpack-ii |
| https://user:token@github.com/eadst/algorithm-pattern-python/blob/patch-2/basic_algorithm/dp.md#练习 |
| triangle | https://leetcode-cn.com/problems/triangle/ |
| minimum-path-sum | https://leetcode-cn.com/problems/minimum-path-sum/ |
| unique-paths | https://leetcode-cn.com/problems/unique-paths/ |
| unique-paths-ii | https://leetcode-cn.com/problems/unique-paths-ii/ |
| climbing-stairs | https://leetcode-cn.com/problems/climbing-stairs/ |
| jump-game | https://leetcode-cn.com/problems/jump-game/ |
| jump-game-ii | https://leetcode-cn.com/problems/jump-game-ii/ |
| palindrome-partitioning-ii | https://leetcode-cn.com/problems/palindrome-partitioning-ii/ |
| longest-increasing-subsequence | https://leetcode-cn.com/problems/longest-increasing-subsequence/ |
| word-break | https://leetcode-cn.com/problems/word-break/ |
| longest-common-subsequence | https://leetcode-cn.com/problems/longest-common-subsequence/ |
| edit-distance | https://leetcode-cn.com/problems/edit-distance/ |
| coin-change | https://leetcode-cn.com/problems/coin-change/ |
| backpack | https://www.lintcode.com/problem/backpack/description |
| backpack-ii | https://www.lintcode.com/problem/backpack-ii/description |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |