Pregunta de entrevista de NimbleRx

String question, optimize solution much as possible