1143. Longest Common Subsequence, 最长公共子序列

子序列的模板:如果是两个参数,肯定是二维数组

解法1

类似题目:712. Minimum ASCII Delete Sum for Two Strings

712解法

类似题目:583. Delete Operation for Two Strings

583解法

你可能感兴趣的:(1143. Longest Common Subsequence, 最长公共子序列)