Ideas2IT interview question

string and array