← Barclays questions
CodingEasyReported in a candidate post, Feb 2019

Interleave Characters from Left and Right Ends of String

Filed under Barclays

Given a string, output a new string by alternately picking characters from the left end and right end (e.g., '12345' -> '15243').

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Barclays questions

Collected from public candidate posts and coding forums. Updated Nov 2026.