Pergunta de entrevista da empresa Google

Time complexity and space complexity; python;