mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"10.3K\", \"totalSubmission\": \"28.7K\", \"totalAcceptedRaw\": 10262, \"totalSubmissionRaw\": 28727, \"acRate\": \"35.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"10.3K\", \"totalSubmission\": \"28.7K\", \"totalAcceptedRaw\": 10270, \"totalSubmissionRaw\": 28743, \"acRate\": \"35.7%\"}",
|
||||
"hints": [
|
||||
"Let's ignore the non-empty subsequence constraint. We can concatenate the two strings and find the largest palindromic subsequence with dynamic programming.",
|
||||
"Iterate through every pair of characters word1[i] and word2[j], and see if some palindrome begins with word1[i] and ends with word2[j]. This ensures that the subsequences are non-empty."
|
||||
|
Reference in New Issue
Block a user