Pregunta de entrevista de InfoObjects

in a given string find the longest increasing substring