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 6a5d65f commit abae1a4Copy full SHA for abae1a4
src/main/java/com/fishercoder/solutions/_15.java
@@ -26,6 +26,7 @@ public class _15 {
26
public static class Solution1 {
27
public List<List<Integer>> threeSum(int[] nums) {
28
Arrays.sort(nums);
29
+
30
List<List<Integer>> result = new ArrayList<>();
31
for (int i = 0; i < nums.length - 2; i++) {
32
if (i >= 1 && nums[i] == nums[i - 1]) {
0 commit comments