SAP interview question

Leet Code - Min Stack