Zoho interview question

Problem-Solving Through Coding Arrays Strings