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 Solvers13
Suggested Problems
-
Select every other element of a vector
36212 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1992 Solvers
-
Change the sign of even index entries of the reversed vector
644 Solvers
-
11393 Solvers
-
1116 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!