Array Is Sorted
Geoffrey Challen // 2020.9.0
Declare and implement a function called arrayIsSorted
that accepts a single array of Int
values
and returns whether the array is sorted in ascending order. If the array is null
, you should return false
.