Please add more cases to the test suite, or else it is trivial to solve this problem.
Rafael is right and since you made this into a badge problem it is even more essential to fix this
Arrange Vector in descending order
4080 Solvers
755 Solvers
215 Solvers
218 Solvers
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!