* Complete the 'maxSubarray' function below. * The function is expected to return an INTEGER_ARRAY. * The function accepts INTEGER_ARRAY arr as parameter.
// Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays.