Goldman Sachs Interview Question

Nda… so cannot say the problem.