Jeet interview question

implement stack using array or queue