Skip to main content
算法珠玑
GitHub
栈和队列
栈
单调栈
单调栈
单调栈是一种特殊的栈,栈里的元素要么单调递增,要么单调递减。
Previous
Maximum Frequency Stack
Next
Buildings With an Ocean View