Linkedin 电面

实现一个stack支持下列操作:

  1. push(x)
  2. pop()
  3. top()
  4. getMin()