IDEMIA interview question

Implement Push Pop operation on stack Using array