Cognizant Interview Question

delete a node from a doubly linked list