Pregunta de entrevista de Infosys

Find length of longest substring. Design patterns. Java Trivia