about | help | code help+videos | done | prefs |
Write a boolean method that accepts an array of int and returns true if the ints are in sorted, ascending order. isSorted([1, 2, 3]) → true isSorted([1, 2, 3, 4, 5, 6, 7, 8, 9]) → true isSorted([-9, -8, -7, -6, -5, -4]) → 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: 250
Copyright Nick Parlante 2017 - privacy