Question d’entretien chez Infosys

Find length of longest substring. Design patterns. Java Trivia