Wipro Interview Question

question on doubly linked list