mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 13:36:46 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"2.6K\", \"totalSubmission\": \"7K\", \"totalAcceptedRaw\": 2557, \"totalSubmissionRaw\": 6950, \"acRate\": \"36.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.6K\", \"totalSubmission\": \"7.1K\", \"totalAcceptedRaw\": 2614, \"totalSubmissionRaw\": 7058, \"acRate\": \"37.0%\"}",
|
||||
"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