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 Solvers16
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53786 Solvers
-
1954 Solvers
-
Test if a Number is a Palindrome without using any String Operations
259 Solvers
-
576 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 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!