American Express Interview Question

Demonstrate Queue or stack in any language