import java.util.*; public class Solution { /** * * @param arr int整型一维数组 the array * @return int整型 */ public int maxLength (int[] arr) { // write code here if (arr == null || arr.length == 0) { return 0; } int left = 0, result = 0; ...