Infosys Interview Question

Basic stack data structure operations.