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 07cb7b3 commit a87db31Copy full SHA for a87db31
src/main/java/com/fishercoder/solutions/_442.java
@@ -5,22 +5,6 @@
5
import java.util.List;
6
import java.util.Set;
7
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
- */
24
public class _442 {
25
26
public static class Solution1 {
0 commit comments