Goldman Sachs Interview Question

Asked 2 coding questions in tech screening interview