Problem 574. Sort numbers by outside digits
Solution Stats
Problem Comments
-
1 Comment
goc3
on 15 Mar 2017
Additional test cases have been added.
Solution Comments
-
1 Comment
bainhome
on 7 May 2015
Using flag"-" to sort string data,impressive!
-
1 Comment
Michael Katz
on 12 Apr 2012
I did have another solution using mod, but I hadn't thought of num2str. Good job.
Problem Recent Solvers141
Suggested Problems
-
Remove all the words that end with "ain"
1851 Solvers
-
227 Solvers
-
Longest run of consecutive numbers
4240 Solvers
-
454 Solvers
-
Test if two numbers have the same digits
227 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!