Pergunta de entrevista da empresa Park Education

They asked me to solve a problem on finding the longest substring without repeating characters. I had to explain my approach step by step, then write and optimize the code using the sliding window technique