Oracle Interview Question

Nothing difficult but solve good puzzles