Leetcode 718. Maximum Length of Repeated Subarray