Accenture interview question

Standard array and string questions