Pergunta de entrevista da empresa Camtek

Find the longest substring with k unique characters in a given string