Xoriant interview question

Doubly linked list