This problem was fun. I was able to find a better way to solve beat my own solution. Not the best way though. But lot better.
5708 Solvers
830 Solvers
Arrange vector in ascending order
624 Solvers
217 Solvers
512 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!