design stack that perform operation in O(1) time complexity
leetcode day 10
[Day 10 - Min Stack || 30 Day Leetcode challenge Day( 10 /30 ) - YouTube]
find min element from stack in O(1) time complexity.
design stack that perform operation in O(1) time complexity
leetcode day 10
[Day 10 - Min Stack || 30 Day Leetcode challenge Day( 10 /30 ) - YouTube]
find min element from stack in O(1) time complexity.