slice interview question

Find the minimum value in a stack at any given time