Examples:
'DIG' --> 'GDI'
'IMPORTANT' --> 'TANTIMPOR'
'DEAL' --> 'EALD'
'LIMB' --> 'IMBL'
'MOSTLY' --> 'YMOSTL'
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers29
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53712 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14375 Solvers
-
477 Solvers
-
Returning a "greater than" vector
278 Solvers
-
Calculate the average value of the elements in the array
1854 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I did submit an answer that did find a pattern—so I didn't rely on switch case hard coding to solve it—but my solution did not find the simplest pattern, and I'm beating myself up for not seeing it.