Oracle interview question

programming question to delete a node from the singly linked list