1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"9.2K\", \"totalSubmission\": \"35.2K\", \"totalAcceptedRaw\": 9236, \"totalSubmissionRaw\": 35205, \"acRate\": \"26.2%\"}",
"stats": "{\"totalAccepted\": \"9.2K\", \"totalSubmission\": \"35.2K\", \"totalAcceptedRaw\": 9248, \"totalSubmissionRaw\": 35243, \"acRate\": \"26.2%\"}",
"hints": [
"Let <code>dp[i]</code> represent the length of the longest subsequence ending with <code>words[i]</code> that satisfies the conditions.",
"<code>dp[i] =</code> (maximum value of <code>dp[j]</code>) <code>+ 1</code> for indices <code>j < i</code>, where <code>groups[i] != groups[j]</code>, <code>words[i]</code> and <code>words[j]</code> are equal in length, and the hamming distance between <code>words[i]</code> and <code>words[j]</code> is exactly <code>1</code>.",