Wipro interview question

question on doubly linked list