8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c855c2b commit 0052dbaCopy full SHA for 0052dba
notes/Leetcode 题解.md
@@ -2002,8 +2002,6 @@ public int wiggleMaxLength(int[] nums) {
2002
2003
<div align="center"><img src="https://latex.codecogs.com/gif.latex?dp[i][j]=\left\{\begin{array}{rcl}dp[i-1][j-1]&&{S1_i==S2_j}\\max(dp[i-1][j],dp[i][j-1])&&{S1_i<>S2_j}\end{array}\right."/></div> <br>
2004
2005
-
2006
-
2007
对于长度为 N 的序列 S<sub>1</sub> 和 长度为 M 的序列 S<sub>2</sub>,dp[N][M] 就是序列 S<sub>1</sub> 和序列 S<sub>2</sub> 的最长公共子序列长度。
2008
2009
与最长递增子序列相比,最长公共子序列有以下不同点:
0 commit comments