Pergunta de entrevista da empresa Rapido

The code has to be executable, we should explain time and space complexity