Pregunta de entrevista de Goldman Sachs

Normal behaviour question and few DSA problems