Oracle interview question

The interview consisted on some problem solving questions.