about | help | code help+videos | done | prefs |
Write a method that returns true if the input parameter array is in increasing order. It does not have to be strictly increasing, so {5,7,7,8} is considered an increasing array for this method. Note that the integer array can include ANY integers, including negatives and zero. So {-7,-3,0,5} is an increasing array. Look at the test data for further examples. retestQuiz05272014Increasing([5, 4, 2, 6, 12, 3, 7, 9]) → false retestQuiz05272014Increasing([5, 7, 9, 14, 22, 50, 51, 80]) → true retestQuiz05272014Increasing([17, 17, 17, 17]) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 220
Copyright Nick Parlante 2017 - privacy