Problem 718 · Medium

Maximum Length of Repeated Subarray

Find the longest contiguous block that appears in both arrays. The visual lays the arrays on a grid and grows diagonal runs of matches.

Open the interactive visualisation