public class NarayanPanditPermutationAlgorithm extends java.lang.Object implements NextGreaterElement
NGE_NOT_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 |
---|
NarayanPanditPermutationAlgorithm() |
Modifier and Type | Method and Description |
---|---|
int[] |
findNGE(int[] N) |
int |
findNGNSameDigits10s(int number) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkArray, checkIntArray, checkList
public int[] findNGE(int[] N)
findNGE
in interface NextGreaterElement
public int findNGNSameDigits10s(int number)