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 Solvers14
Suggested Problems
-
Which values occur exactly three times?
5247 Solvers
-
423 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Create a vector whose elements depend on the previous element
796 Solvers
-
Check if a matrix Diagonal is equal to its secondary diagonal
39 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!