Min Stack
Description Difficulty: 2.0/5.0 URL: https://oj.leetcode.com/problems/min-stack/ Solution It looks like a non-trivial question, but the solution is trivial. The problem requires the MinStack to support four operations: pop(), top(), push(), and getMin() in constant time. The normal stack supports the first...