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 digitlist){

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!