LeetCode
Maximum Length of Repeated Subarray
Click
here
for an explanation.