HSBC Interview Question

Implement a stack in language of your choice