阅读背景:

设计一个堆栈,这样getMinimum()应该是O(1)

来源:互联网 

This is one of an interview question. You need to design a stack which holds an integer value such that getMinimum() function should return the minimum element in the stack.This is one of an interview question. You need




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: