René's URL Explorer Experiment


Title: 115.不同的子序列 · Issue #4 · feikerwu/algorithm-camp · GitHub

Open Graph Title: 115.不同的子序列 · Issue #4 · feikerwu/algorithm-camp

X Title: 115.不同的子序列 · Issue #4 · feikerwu/algorithm-camp

Description: 原题地址 给定一个字符串 S 和一个字符串 T,计算在 S 的子序列中 T 出现的个数。 一个字符串的一个子序列是指,通过删除一些(也可以不删除)字符且不干扰剩余> 字符相对位置所组成的新字符串。(例如,"ACE" 是 "ABCDE" 的一个子序列,而> "AEC" 不是) 题解 子序列 T 在 S 中出现的次数 = T - 1 在 S 中的次数 + T - 1 在 S - 1 中出现的次数(前提是 S[-1] === T[-1]) 写成动态规划方程 代码 /** * ...

Open Graph Description: 原题地址 给定一个字符串 S 和一个字符串 T,计算在 S 的子序列中 T 出现的个数。 一个字符串的一个子序列是指,通过删除一些(也可以不删除)字符且不干扰剩余> 字符相对位置所组成的新字符串。(例如,"ACE" 是 "ABCDE" 的一个子序列,而> "AEC" 不是) 题解 子序列 T 在 S 中出现的次数 = T - 1 在 S 中的次数 + T - 1 在 S - 1 中出现的次数...

X Description: 原题地址 给定一个字符串 S 和一个字符串 T,计算在 S 的子序列中 T 出现的个数。 一个字符串的一个子序列是指,通过删除一些(也可以不删除)字符且不干扰剩余> 字符相对位置所组成的新字符串。(例如,"ACE" 是 "ABCDE" 的一个子序列,而> "AEC" 不是) 题解 子序列 T 在 S 中出现的次数 = T...

Opengraph URL: https://github.com/feikerwu/algorithm-camp/issues/4

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"115.不同的子序列","articleBody":"[原题地址](https://leetcode-cn.com/problems/distinct-subsequences/)\r\n\r\n\u003e 给定一个字符串 S 和一个字符串 T,计算在 S 的子序列中 T 出现的个数。\r\n\u003e 一个字符串的一个子序列是指,通过删除一些(也可以不删除)字符且不干扰剩余\u003e 字符相对位置所组成的新字符串。(例如,\"ACE\" 是 \"ABCDE\" 的一个子序列,而\u003e \"AEC\" 不是)\r\n\r\n### 题解\r\n子序列 T 在 S 中出现的次数 = T - 1 在 S 中的次数 + T - 1 在 S - 1 中出现的次数(前提是 S[-1] === T[-1])\r\n\r\n写成动态规划方程\r\n\r\n![](http://latex.codecogs.com/gif.latex?f(T,%20S)%20=%20%5Cleft%5C%7B%5Cbegin%7Bmatrix%7D%20f(T,%20S-1),%20T%5B-1%5D%20!==%20S%5B-1%5D%20\u0026%20%5C%5C%20f(T,%20S-1)+f(T-1,%20S-1),%20T%5B-1%5D%20===%20S%5B-1%5D%20\u0026%20%5C%5C%20%5Cend%7Bmatrix%7D%5Cright.)\r\n\r\n### 代码\r\n```js\r\n/**\r\n * @param {string} s\r\n * @param {string} t\r\n * @return {number}\r\n */\r\nvar numDistinct = function(s, t) {\r\n  let res = new Array()\r\n  for (let i = 0; i \u003c= t.length; i++) {\r\n    let tem = new Array(s.length + 1).fill(0)\r\n    res.push(tem.slice())\r\n  }\r\n\r\n  for(let i = 0; i \u003c= s.length; i++) {\r\n    res[0][i] = 1\r\n  }\r\n\r\n  for (let i = 1; i \u003c= t.length; i++) {\r\n    for (let j = 1; j \u003c= s.length; j++) {\r\n      res[i][j] += res[i][j-1]\r\n      if (t[i-1] === s[j-1]) {\r\n        res[i][j] += res[i-1][j-1]\r\n      }\r\n    }\r\n  }\r\n  return res[t.length][s.length]\r\n};\r\n```","author":{"url":"https://github.com/feikerwu","@type":"Person","name":"feikerwu"},"datePublished":"2020-02-28T07:02:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4/algorithm-camp/issues/4"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f283a506-1c75-d4ee-717f-3198486bfcf1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA1D8:2F02EE:11F0A6:186303:69793E94
html-safe-nonce4f215e90778c71be093675611bf5073d9b048de0054f04af764a3eaa2e4fd343
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUQ4OjJGMDJFRToxMUYwQTY6MTg2MzAzOjY5NzkzRTk0IiwidmlzaXRvcl9pZCI6IjQ2MjQ1NDQwNDg0NzQ1NzAzODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac30e389db0ebc41c7782ae8d1ca9f65b06c5a8179b2d03dae68049848591c55f7
hovercard-subject-tagissue:572567555
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feikerwu/algorithm-camp/4/issue_layout
twitter:imagehttps://opengraph.githubassets.com/379f94a441f33b7963e948dadd2056f82ccdd80bdb0ef66c2714719dd62e7c0e/feikerwu/algorithm-camp/issues/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/379f94a441f33b7963e948dadd2056f82ccdd80bdb0ef66c2714719dd62e7c0e/feikerwu/algorithm-camp/issues/4
og:image:alt原题地址 给定一个字符串 S 和一个字符串 T,计算在 S 的子序列中 T 出现的个数。 一个字符串的一个子序列是指,通过删除一些(也可以不删除)字符且不干扰剩余> 字符相对位置所组成的新字符串。(例如,"ACE" 是 "ABCDE" 的一个子序列,而> "AEC" 不是) 题解 子序列 T 在 S 中出现的次数 = T - 1 在 S 中的次数 + T - 1 在 S - 1 中出现的次数...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefeikerwu
hostnamegithub.com
expected-hostnamegithub.com
Nonef9bf80f4f4d71a2f9361692e65b326c887a4b25c15fe127257a2d331d14031bd
turbo-cache-controlno-preview
go-importgithub.com/feikerwu/algorithm-camp git https://github.com/feikerwu/algorithm-camp.git
octolytics-dimension-user_id39146693
octolytics-dimension-user_loginfeikerwu
octolytics-dimension-repository_id242958294
octolytics-dimension-repository_nwofeikerwu/algorithm-camp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242958294
octolytics-dimension-repository_network_root_nwofeikerwu/algorithm-camp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4aabbf3f1d27b754d95d7a9a6e02d14a5aaeb4e6
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues/4#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeikerwu%2Falgorithm-camp%2Fissues%2F4
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeikerwu%2Falgorithm-camp%2Fissues%2F4
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feikerwu%2Falgorithm-camp
Reloadhttps://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues/4
Reloadhttps://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues/4
Reloadhttps://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues/4
feikerwu https://patch-diff.githubusercontent.com/feikerwu
algorithm-camphttps://patch-diff.githubusercontent.com/feikerwu/algorithm-camp
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffeikerwu%2Falgorithm-camp
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Ffeikerwu%2Falgorithm-camp
Star 3 https://patch-diff.githubusercontent.com/login?return_to=%2Ffeikerwu%2Falgorithm-camp
Code https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp
Issues 11 https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues
Pull requests 3 https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/pulls
Actions https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/actions
Projects 0 https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/projects
Security 0 https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/security
Insights https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/pulse
Code https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp
Issues https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues
Pull requests https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/pulls
Actions https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/actions
Projects https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/projects
Security https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/security
Insights https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/feikerwu/algorithm-camp/issues/4
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/feikerwu/algorithm-camp/issues/4
115.不同的子序列https://patch-diff.githubusercontent.com/feikerwu/algorithm-camp/issues/4#top
dphttps://github.com/feikerwu/algorithm-camp/issues?q=state%3Aopen%20label%3A%22dp%22
leetcodehttps://github.com/feikerwu/algorithm-camp/issues?q=state%3Aopen%20label%3A%22leetcode%22
https://github.com/feikerwu
https://github.com/feikerwu
feikerwuhttps://github.com/feikerwu
on Feb 28, 2020https://github.com/feikerwu/algorithm-camp/issues/4#issue-572567555
原题地址https://leetcode-cn.com/problems/distinct-subsequences/
https://camo.githubusercontent.com/7fbaaebd03a301a0e84910dc286b9cd86fc06a410f191bcbad40a5c9b179a24f/687474703a2f2f6c617465782e636f6465636f67732e636f6d2f6769662e6c617465783f6628542c25323053292532303d2532302535436c656674253543253742253543626567696e2537426d61747269782537442532306628542c253230532d31292c253230542535422d31253544253230213d3d253230532535422d31253544253230262532302535432535432532306628542c253230532d31292b6628542d312c253230532d31292c253230542535422d312535442532303d3d3d253230532535422d3125354425323026253230253543253543253230253543656e642537426d617472697825374425354372696768742e
dphttps://github.com/feikerwu/algorithm-camp/issues?q=state%3Aopen%20label%3A%22dp%22
leetcodehttps://github.com/feikerwu/algorithm-camp/issues?q=state%3Aopen%20label%3A%22leetcode%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.