Oracle interview question

Mostly puzzle rounds