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
-
Find the longest sequence of 1's in a binary sequence.
6843 Solvers
-
Find the alphabetic word product
3474 Solvers
-
Find state names that end with the letter A
1198 Solvers
-
Find the sum of the elements in the "second" diagonal
1207 Solvers
-
Back to basics 23 - Triangular matrix
1145 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!