如题。用的是judge large。
是什么原因呢? code如下。或者看链接:http://pastebin.com/juCshJA6
public class Solution {
public ArrayList> fourSum(int[] num, int target) {
// Start typing your Java solution below
// DO NOT write main() function
Arrays.sort(num);
ArrayList> result = new ArrayList>
();
for (int i = 0; i < num.length - 3;) {
for (int j = i + 1; j < num.length - 2;) {