Question d’entretien chez Meta

Print the largest non-duplicate substring in the given string