Pergunta de entrevista da empresa JPMorganChase

Solve 2 problems within a one hour timeframe