Oracle Interview Question

Puzzles and logic