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
-
3433 Solvers
-
5972 Solvers
-
Test if a Number is a Palindrome without using any String Operations
253 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
177 Solvers
-
Arrange vector in ascending order
817 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!