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

52 Solutions

14 Solvers

Last Solution submitted on Apr 27, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers14

Suggested Problems

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!