# 栈和队列概览

栈是一个后进先出的数据结构,JavaScript中没有栈,但可以用 Array 实现栈的所有功能。 栈的常见操作:push pop stack[stack.length - 1]

使用场景:

上次更新: 2/7/2022, 3:24:32 PM