public interface DuplicateFinder extends BaseInterface
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NO_DUPLICATES_FOUND |
ARRAY_IS_EMPTY, DATA_TYPE_NOT_SUPPORTED_YET, DECIMAL_RADIX, DELIMITER_COMMA, ELEMENT_NOT_FOUND, LIST_IS_EMPTY, OPERATION_NOT_SUPPORTED_YET
Modifier and Type | Method and Description |
---|---|
int |
findDuplicate(int[] numbers)
|
checkArray, checkIntArray, checkList
static final java.lang.String NO_DUPLICATES_FOUND
int findDuplicate(int[] numbers)
numbers
- input