Pregunta de entrevista de Bloomberg

Implement a Stack that supports a max function?