Pregunta de entrevista de Squarepoint Capital

Some easy leet code question