Pregunta de entrevista de Goldman Sachs

Easy qns for first round, medium for second