Epic interview question

String and Math