We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac9def commit 9b75e89Copy full SHA for 9b75e89
src.save/main/java/g0001_0100/s0018_4sum/Solution.java
@@ -34,7 +34,6 @@ public List<List<Integer>> fourSum(int[] nums, int target) {
34
continue;
35
}
36
while (left < right) {
37
-
38
int sum = nums[left] + nums[right] + half;
39
if (sum == target) {
40
ret.add(Arrays.asList(nums[left++], nums[right--], nums[i], nums[j]));
0 commit comments