Search
⌘K

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.

Comments

Your account is free and you can post anonymously if you choose.