Pergunta de entrevista da empresa Andela

it was a dsa question, cant recollect