Problem on Arrays

Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays.