摘要:
public int[] twoSum1(int[] nums, int target) { int first; int second; int a; int b=1; //外循环 假设第一个值为索引为a out: for (a = 0; a < nums.length; a++) { first 阅读全文
摘要:
1 public static int partitionDisjoint(int[] A) { 2 //创建一个链式集合来充当左数组 3 LinkedList<Integer> list = new LinkedList(); 4 //创建一个判断标记 5 boolean flag = true; 阅读全文