Send the following on WhatsApp
Continue to ChatHow to design a stack such that we can get the minimum in O(1)? https://studyalgorithms.com/misc/how-to-design-a-stack-such-that-we-can-get-the-minimum-in-o1/
How to design a stack such that we can get the minimum in O(1)? https://studyalgorithms.com/misc/how-to-design-a-stack-such-that-we-can-get-the-minimum-in-o1/