Given an input string S, return a new string B, that is created by taking one character from the front and then the end iteratively. I.e. given S = "abcde", return B = "aebdc".
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
301 Solvers
-
Return the first and last characters of a character array
12269 Solvers
-
Create a vector whose elements depend on the previous element
802 Solvers
-
Solve a System of Linear Equations
14744 Solvers
-
401 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!