Pergunta de entrevista da empresa IBM

Didn't get to the part.