Domanda di colloquio di Fidelity Investments

How to create stack and operations using array