- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get
2014-11-10 10:22:11 935 1
原创 某F面试
class DeviceReader { public: // Reads upto 4 bytes of data into the given buffer. // Returns the number of bytes read (zero if no more data). virtual int read4(char *buffer) = 0; }; /* --- s
2014-11-04 08:48:37 945
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人