Pergunta de entrevista da empresa Meta

Print the largest non-duplicate substring in the given string