J.P. Morgan interview question

Asked me to write pseudo code for doubly linked list in java