Skip to content

Commit a87db31

Browse files
refactor 442
1 parent 07cb7b3 commit a87db31

File tree

1 file changed

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

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@
55
import java.util.List;
66
import java.util.Set;
77

8-
/**
9-
* 442. Find All Duplicates in an Array
10-
*
11-
* Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.
12-
13-
Find all the elements that appear twice in this array.
14-
15-
Could you do it without extra space and in O(n) runtime?
16-
17-
Example:
18-
Input:
19-
[4,3,2,7,8,2,3,1]
20-
21-
Output:
22-
[2,3]
23-
*/
248
public class _442 {
259

2610
public static class Solution1 {

0 commit comments

Comments
 (0)