Return 1 if the input is sorted from highest to lowest, 0 if not.
Example:
1:7 -> 0 [7 5 2] -> 1
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers1622
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52704 Solvers
-
1324 Solvers
-
The Hitchhiker's Guide to MATLAB
3405 Solvers
-
1463 Solvers
-
637 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
umm... why is issorted not working? :<
Please correct the test case.
@Rahul Gulia, the test suite is indeed correct, read the question properly