Oracle interview question

Nothing difficult but solve good puzzles