一些值得回看的小算法. 最长的连续子数组 子数组数字不重复 int [] arr={1,2,3,4,7}; //输出4 int [] arr1={1,2,3,4,1,2,3,4,5,1}; //输出5 package RecursiveAndDynamic; /** * Created by zdmein on 2017/9/2. * 最长的连续子数组(子数组数字不重复) * int [] arr={1,2,3,4,7}; 输出4 * int [] arr1={1,2,3,4,1,2,3,4,5…