示例中,压栈push语句是 space[--top] = element;

      而出栈pop语句是 space[top++];

这个逻辑和数据结构中的算法恰好相反;