【Leetcode】718. Maximum Length of Repeated Subarray

1 求极值问题,想到用dp

2 dp[i][j]表示A数组前i个和B数组前j个的最长子数组的长度

https://www.cnblogs.com/grandyang/p/7801533.html


你可能感兴趣的:(【Leetcode】718. Maximum Length of Repeated Subarray)