Pregunta de entrevista de Oracle

There was a coding interview