Pergunta de entrevista da empresa Citi

Only problem is, it is not clear whether really they have requirement or not.