Pregunta de entrevista de Ramp

Solve a Code signal, cannot disclose problem