Domanda di colloquio di Fidelity Investments

how to use doubly linked list to implement stack?