原创 面試手撕代碼總結(三)-棧

面試手撕代碼總結(三)-棧 1.使用數組實現棧 public class MyStack<E>{ private Object[] stack; private int size; public MyStack(){