about | help | code help+videos | done | prefs |
Mountain, Part II: Given an array of ints (nums) and an int value (start) isDecreasing(int[] array, int start) ---- Returns true IF for each j such that start <= j < nums.length-1, THEN nums[j] > nums[j+1]; isDecreasing([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 6) → false isDecreasing([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 0) → false isDecreasing([9, 8, 7, 6, 5, 4, 3, 2, 1], 0) → 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: 300
Copyright Nick Parlante 2017 - privacy