about | help | code help+videos | done | prefs |
Given an integer array, determine if elements in that array are "going up." An array that isUp will contain values that increase or stay the same next to each other. [1,2,3,4,5] and [1, 1, 5, 9] are going up.[1,2,3,0,8] is not going up. isUp([1, 2, 3, 4, 5]) → true isUp([1, 2, 3, 0, 8]) → false isUp([1, 2, 3, 1, 8]) → false ...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: 205
Copyright Nick Parlante 2017 - privacy