Search
⌘K
Get Premium
Leetcode 718. Maximum Length of Repeated Subarray
Find the maximum length of a contiguous subarray that appears in both input arrays (the longest common substring problem for arrays); constraints (lengths ≤1000, values 0–100) make O(n·m) DP or faster rolling-hash approaches feasible.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.