剑指offer-栈
首先学习一下Java中栈的常用Constructor和Method 构造器或方法 功能描述 类型 public Stack() Creates an empty stack. Constructor push(E item) Pushes an item onto the top of this stack. Method peek() Looks at the object at the top of this stack without removing it from the stack. Method pop() Removes the object on the top of