CodingMedium
Adjust String by Rows
Filed under ZopSmart
The question
Given a string and a number representing the number of rows, rearrange the characters in a zig-zag or custom row layout pattern and return a new concatenated string.
No write-up yet. Related questions below have one.
Related ZopSmart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.