Twilio interview question

String coding question