Pregunta de entrevista de Hurix

Code for puzzle.Simple question like find the vovles in string