← Zoho questions

Print X-like or diagonal patterns from odd length strings

Filed under Zoho

Given a string of odd length, print it in an 'X' pattern. The first and last characters appear on the first row, the second and second-to-last on the second row, and so on, until they meet in the…

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 Zoho questions

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