Examples:
'DIG' --> 'GDI'
'IMPORTANT' --> 'TANTIMPOR'
'DEAL' --> 'EALD'
'LIMB' --> 'IMBL'
'MOSTLY' --> 'YMOSTL'
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Return the largest number that is adjacent to a zero
5526 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15805 Solvers
-
1471 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Calculate supply voltage and total current
276 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.