Pregunta de entrevista de Riot Games

Simple question from string search.