Google interview question

reverse a stack, keep track of minimum value in stack