Problem 2190. Order of things - 2
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Since Cody, I dislike for-loops, but your solution is way simpler than my own algorithm. Mission accomplished...
Nevertheless, I would hope for a non-looped piece of code. Let's see in phase 3.
Problem Recent Solvers10
Suggested Problems
-
Return the 3n+1 sequence for n
6990 Solvers
-
2878 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2410 Solvers
-
Convert a vector into a number
545 Solvers
-
1149 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!