Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c855c2b

Browse filesBrowse files
committed
auto commit
1 parent 3f06771 commit c855c2b
Copy full SHA for c855c2b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-7
lines changed

‎notes/Leetcode 题解.md

Copy file name to clipboardExpand all lines: notes/Leetcode 题解.md
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,13 +2000,7 @@ public int wiggleMaxLength(int[] nums) {
20002000

20012001
综上,最长公共子系列的状态转移方程为:
20022002

2003-
$$
2004-
dp[i][j]=\left\{
2005-
\begin{array}{rcl}
2006-
dp[i-1][j-1] && { S1_i==S2_j }\\
2007-
max(dp[i-1][j], dp[i][j-1]) &&{ S1_i <> S2_j }
2008-
\end{array} \right.
2009-
$$
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>
20102004

20112005
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//1dc481cc-99f6-4fa8-8f68-fbd563995bf5.png)
20122006

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.