Oracle interview question

Reverse a particular segment of linkedlist from a node to b node