Pergunta de entrevista da empresa WellDev

In the first technical round, asked sliding window question