Skip to content

Commit c9e6e14

Browse files
refactor 18
1 parent c80a9d8 commit c9e6e14

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

269
public static class Solution1 {

0 commit comments

Comments
 (0)