Frage im Vorstellungsgespräch bei Flipkart

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