Pergunta de entrevista da empresa Google

i have answered this in description.