Jeet Interview Question

implement stack using array or queue