Skip to content

Commit da838de

Browse files
refactor 15
1 parent 3c1b061 commit da838de

File tree

1 file changed

+0
-17
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-17
lines changed

src/main/java/com/fishercoder/solutions/_15.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,6 @@
44
import java.util.Arrays;
55
import java.util.List;
66

7-
/**
8-
* 15. 3Sum
9-
*
10-
* Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0?
11-
* Find all unique triplets in the array which gives the sum of zero.
12-
*
13-
* Note: The solution set must not contain duplicate triplets.
14-
15-
For example, given array S = [-1, 0, 1, 2, -1, -4],
16-
17-
A solution set is:
18-
[
19-
[-1, 0, 1],
20-
[-1, -1, 2]
21-
]
22-
*/
23-
247
public class _15 {
258

269
public static class Solution1 {

0 commit comments

Comments
 (0)