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 peak 3n+1 sequence value
2572 Solvers
-
Is my wife right? Now with even more wrong husband
1348 Solvers
-
Getting the indices from a vector
12409 Solvers
-
Check that number is whole number
5483 Solvers
-
1662 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!