Goldman Sachs Interview Question

Arithmetic and coding questions were asked