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 e1ed680 commit 2210efdCopy full SHA for 2210efd
src/main/java/g0001_0100/s0018_4sum/Solution.java
@@ -10,7 +10,7 @@
10
public class Solution {
11
public List<List<Integer>> fourSum(int[] nums, int target) {
12
List<List<Integer>> ret = new ArrayList<>();
13
- if (nums == null && nums.length < 4) {
+ if (nums.length < 4) {
14
return ret;
15
}
16
if (nums[0] == 1000000000 && nums[1] == 1000000000) {
0 commit comments