Pergunta de entrevista da empresa TechMojo Solutions

Find the longest substring having n distinct characters