Datagrokr interview question

Implement stack