classMinStack { public: /** initialize your data structure here. */ MinStack() {} voidpush(int x){ } voidpop(){ } inttop(){ } intgetMin(){ } }; /** * Your MinStack object will be instantiated and called as such: * MinStack* obj = new MinStack(); * obj->push(x); * obj->pop(); * int param_3 = obj->top(); * int param_4 = obj->getMin(); */