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
-
Remove all the words that end with "ain"
2638 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3064 Solvers
-
1344 Solvers
-
1623 Solvers
-
Number of 1s in a binary string
10983 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!