Search:
MATLAB Central
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Trendy
Cody
Contest
MathWorks.com
Create Account
Log In
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Trendy
Cody
Contest
MathWorks.com
Problems
Solutions
Players
Recent Activity
Log In
to solve and create problems.
Create a Problem
About Cody
Problem 109. Check if sorted
Created by
Amitava Biswas
Check if sorted.
Example:
Input x = [1 2 0] Output y is 0
Tags
sort
Problem Group
Community
Solve This Now!
1130 solvers submitted 2196 solutions (1.94 solutions/solver).
Solution Map
Solution List
Solvers
Problem Comments
2 Comments
vivek
on 30 May 2013
Sort means ascending or descending or both? Not clear
Geoffrey Akien
on 7 Jul 2013 at 10:17
I agree! The code is significantly different for those possible cases.
Solution Comments
Solution 59623
2 Comments
Viktor
on 11 Mar 2012
Hard one :)
Frequency Domain
on 23 Jul 2013 at 13:13
facepalm
2 Comments