plduhoux
2/24/2018 - 1:04 AM

checkIncreasingSequence

boolean checkIncreasingSequence(int[] seq) {
    for (int i = 1; i < seq.length; i++) {
        if (seq[i] <= seq[i - 1]) return false;
    }
    return true;
}