Fidelity Investments interview question

how to use doubly linked list to implement stack?