Amazon interview question

leetcode easy question: stack problem