Fidelity Investments Interview Question

how to use doubly linked list to implement stack?