Pergunta de entrevista da empresa Ring

Find max number in the stack data structure with O(1)