IDEMIA interview question

Implementation of stack in any language