public class NGERegularArray 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 |
---|
NGERegularArray() |
Modifier and Type | Method and Description |
---|---|
static int[] |
findDaysToWarmthBruteForce(int[] temperatures) |
int[] |
findNGE(int[] temperatures) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkArray, checkIntArray, checkList
public int[] findNGE(int[] temperatures)
findNGE
in interface NextGreaterElement
public static int[] findDaysToWarmthBruteForce(int[] temperatures)