InterviewBit Problems   Min Stack : Solved


About the Min Stack : Solved category (1)
Python (Solution) O(1) time for all functions (1)
Simplest python soln (3)
What is the use of constructor in the editorial solution (1)
Compiler sucks...! Custom test case is showing correct result while same testcase during submition is showing wrong result (2)
O(1) time with O(1) extra space! Happy coding! (5)
O(1) Space Complexity in Java --> (1)
Simple c++ solution O(1) time complexity (1)
Very Easy C++ Sol. Using 1 Stack All Operations O(1) (20)
Get min with O(1) (1)
C++ || 2 stacks || remember to initialize in constructor(lost 100 pts because of this) (1)
Something very wierd with JAVA compiler (3)
Java Solution:MIn Stack (2)
Using 2 stacks in O(1) time (1)
C++ Solution using stack of pairs(O(N) space and O(1) time) (1)
Not sure if this was correct, but I got a successful submit on it ☺ (1)
Java solution using two stacks (1)
C++ easy sol with vector and helper min stack (1)
Easy c++ solution using struct (1)
Need help in runtime error (1)
Easy to understand code in C++ (1)
Java Solution: O(1) time, O(n) space (1)
A simple c++ solution using vector (1)
It is impossible for ALL operations to be contant time O(1) (3)
Simple C++ solution using Vector (2)
What is wrong with this java code? (3)
Test case not passing while submitting is passing when I am running my code on the same test case in "Test with custom input". Please help resolve the problem (1)
Using two Stacks C++ Solution (1)
Got a Flying unicorn B) (2)
How can I do it in python? (1)