Pergunta de entrevista da empresa Amazon

Implement a Stack with O(1) time complexity for getting min and max