Domanda di colloquio di Flipkart

Get minimum from stack in O(1) time complexity? Two sum problem?