Problem 42816. Sorting integers by their digits (Level 4)
Solution Stats
Problem Comments
-
3 Comments
An interesting series of sorting problems, ranging from integer to floating point numbers, and from real-valued to complex numbers.
This sort series problem are interesting and also challeging, and for solving this series, regular expression, string, data index and function, etc. all kinds of skill are required. learned a lot, thx!
@Bainhome Absolutely agree!...A very interesting series for both the aficionados and virtuoso. Sure we all had fun. :) Thanks HH.
Solution Comments
-
1 Comment
recently looked back this problem, and studied every code that worth to studied. All code (except mine) are excellent and mind blower, but I enjoyed this one and Liu Peng's the most. Liu's code are more "numericalized", and better fit the idea about "index" title; this one is bit of instructive: definitely enrich my knowledge about "replace" action in regular expression. I'll take a very serious note about this two ideas. THX buddy.
Problem Recent Solvers35
Suggested Problems
-
Find the sum of all the numbers of the input vector
38576 Solvers
-
6562 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
485 Solvers
-
Remove the two elements next to NaN value
518 Solvers
-
Implement simple rotation cypher
1020 Solvers
More from this Author35
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!