Pergunta de entrevista da empresa Goldman Sachs

Arithmetic and coding questions were asked