Pregunta de entrevista de Liberty Mutual Insurance

String manipulation type coding question