// pop、push、getMin操作时间复杂度均为O(1)。 class MinStack { /** * 出栈 */ pop() { } /** * 入栈 */ push(value) { } /** * 获取当前栈中的最小值 */ getMin() { } }