Oracle interview question

some normal algorithm and design questions