Pergunta de entrevista da empresa Kitabisa

Technical question, how would you approach a problem