NucleusTeq interview question

Implement stack using array and implement its functions