Question: Given an ArrayList of Integers as a parameter, create a method returns true if the elements of the ArrayList appear in strictly increasing order. For
Given an ArrayList of Integers as a parameter, create a method returns true if the elements of the ArrayList appear in strictly increasing order. For example:
[1, 3, 5, 6] would return true
[1, 3, 3, 6] would return false
[1, 5, 3, 6] would return false
special case: [7] one digit would return true
public static boolean isStrictlyIncreasing(ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
