Oracle interview question

Merge 2 linked lists , then optimise