Domanda di colloquio di Google

reverse a stack, keep track of minimum value in stack