UiPath Interview Question

Implement a stack that also has a GetMin method and all the operations on the stack including the GetMin are O(1).