Question d’entretien chez Google

reverse a stack, keep track of minimum value in stack