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 7e70435 commit b654c93Copy full SHA for b654c93
src/main/java/com/fishercoder/solutions/_217.java
@@ -3,13 +3,6 @@
3
import java.util.HashSet;
4
import java.util.Set;
5
6
-/**
7
- * 217. Contains Duplicate
8
- *
9
- * Given an array of integers, find if the array contains any
10
- * duplicates. Your function should return true if any value appears at least twice in the array,
11
- * and it should return false if every element is distinct.
12
- */
13
public class _217 {
14
public static class Solution1 {
15
public boolean containsDuplicate(int[] nums) {
0 commit comments