Twilio interview question

Coding question about arrays and strings.