You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/locales/en.js
+15-15
Original file line number
Diff line number
Diff line change
@@ -393,35 +393,35 @@ const en = {
393
393
394
394
Of course, this learning path is intended for those with some foundation. If you don't have a foundation yet, you can refer to related articles. I will also write a comprehensive routine article in the future.`,
395
395
dp_item1: "Single string type",
396
-
dp_item1_keys1: `
397
-
State: 1. dp[i] represents the xxxx ending with s[i]
398
-
2. dp[i] represents the xxxx up to s[i]`,
396
+
dp_item1_keys1: `State:
397
+
1. dp[i] represents the xxxx ending with s[i]
398
+
2. dp[i] represents the xxxx up to s[i]`,
399
399
dp_item1_keys2:
400
400
"Enumeration: It usually involves two nested loops, where one loop fixes the left endpoint and the other loop fixes the right endpoint for enumeration.",
401
401
dp_item1_keys3:
402
402
"Transition equation: Based on the problem, choose whether to combine with s[j], then take the maximum, minimum, or count as required.",
403
403
404
404
dp_item2: "Double string type",
405
-
dp_item2_keys1: `
406
-
State: 1. dp[i][j] represents the xxxx ending with s1[i], s2[j]
407
-
2. dp[i][j] represents the xxxx up to s1[i], s2[j]`,
405
+
dp_item2_keys1: `State:
406
+
1. dp[i][j] represents the xxxx ending with s1[i], s2[j]
407
+
2. dp[i][j] represents the xxxx up to s1[i], s2[j]`,
408
408
dp_item2_keys2:
409
409
"Enumeration: Typically, it involves two nested loops, where one loop fixes the right endpoint of s1, and the other loop fixes the right endpoint of s2 for enumeration.",
410
410
dp_item2_keys3:
411
411
"State transition: Based on the problem and the relationship between s[i] and s[j], take the maximum, minimum, or count as required.",
412
412
413
413
dp_item3: "Sequence type",
414
-
dp_item3_keys1: `
415
-
State: 1. In one-dimensional arrays, dp[i] usually represents the xxxx ending with nums[i]
416
-
2. In two-dimensional arrays, dp[i][j] usually represents the xxxx ending with grid[i][j]`,
414
+
dp_item3_keys1: `State:
415
+
1. In one-dimensional arrays, dp[i] usually represents the xxxx ending with nums[i]
416
+
2. In two-dimensional arrays, dp[i][j] usually represents the xxxx ending with grid[i][j]`,
417
417
dp_item3_keys2:
418
418
"Enumeration: One-dimensional involves a single loop to enumerate all nums, while two-dimensional involves two loops to enumerate all grid.",
419
-
dp_item3_keys3: `
420
-
State transition: 1. In one dimension, it usually involves the relationship between the current cell and the preceding two cells, possibly involving maximum, minimum, or counting.
421
-
dp[i] = dp[i - 1] + dp[i - 2]" This is also called a recurrence relation because it does not involve decision-making.
422
-
2. In two dimensions, it usually involves the relationship between the current cell and its upper and left adjacent cells, possibly involving maximum, minimum, or counting.
423
-
dp[i][j] = dp[i - 1][j] + dp[i][j-1]" This is also called a recurrence relation because it does not involve decision-making.
424
-
3. From the transition equation, it's not difficult to see that this type of problem can usually be optimized using rolling arrays.
419
+
dp_item3_keys3: `State transition:
420
+
1. In one dimension, it usually involves the relationship between the current cell and the preceding two cells, possibly involving maximum, minimum, or counting.
421
+
dp[i] = dp[i - 1] + dp[i - 2]" This is also called a recurrence relation because it does not involve decision-making.
422
+
2. In two dimensions, it usually involves the relationship between the current cell and its upper and left adjacent cells, possibly involving maximum, minimum, or counting.
423
+
dp[i][j] = dp[i - 1][j] + dp[i][j-1]" This is also called a recurrence relation because it does not involve decision-making.
424
+
3. From the transition equation, it's not difficult to see that this type of problem can usually be optimized using rolling arrays.
425
425
`,
426
426
427
427
dp_item4: "Backpack type(List only the problems)",
0 commit comments