Pregunta de entrevista de Oracle

Basic to medium difficult question