We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c23407 commit b16c8b0Copy full SHA for b16c8b0
solution/0300-0399/0300.Longest Increasing Subsequence/README.md
@@ -70,7 +70,7 @@ class Solution {
70
for (int i = 1; i < n; ++i) {
71
for (int j = 0; j < i; ++j) {
72
if (nums[j] < nums[i]) {
73
- dp[i] = Math.max(dp[i], dp[j] + 1);
+ dp[i] = Math.max(dp[i], dp[j] + 1);
74
}
75
76
res = Math.max(res, dp[i]);
solution/0300-0399/0300.Longest Increasing Subsequence/README_EN.md
@@ -59,7 +59,7 @@ class Solution {
59
60
61
62
63
64
65
0 commit comments