Goldman Sachs Interview Question

Q. meduim LC Qs 2 Sum