← Visa questions

String Operations Based on Length

Filed under Visa

Given an array of strings, transform each string: if the length is even, convert it to lowercase; if the length is odd, replace each character with the next alphabet character (e.g., 'a' becomes 'b'…

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

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