Goldman Sachs Interview Question

Aptitude and coding and reasoning