public class AuxSpaceDupFinder extends java.lang.Object implements DuplicateFinder
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
Constructor and Description |
---|
AuxSpaceDupFinder() |
Modifier and Type | Method and Description |
---|---|
int |
findDuplicate(int[] nums)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkArray, checkIntArray, checkList
public int findDuplicate(int[] nums)
findDuplicate
in interface DuplicateFinder
nums
- input