↓
快轉到主要內容
Blog
分類
演算法
後端技術
資料庫
分散式系統
面試經歷
實習經歷
LeetCode
論文發表
所有標籤
繁體中文
English
繁體中文
繁體中文
English
繁體中文
Blog
分類
演算法
後端技術
資料庫
分散式系統
面試經歷
實習經歷
LeetCode
論文發表
所有標籤
Longest-Common-Subsequence
LeetCode 1458: Max Dot Product of Two Subsequences
2026-01-11
·
1 分鐘
LeetCode
Hard
Dynamic-Programming
Longest-Common-Subsequence
Array
LeetCode 1458 解題筆記:兩個前綴的 DP;dp[i][j] 可以配對 nums1[i]、nums2[j](接在 dp[i-1][j-1] 後面或自己開頭),或跳過其中一個