Oracle interview question

Question on puzzles, and programming was asked