Accenture interview question

Basic operations on strings and arrays is must