Pergunta de entrevista da empresa IMC Trading

The second problem is implementing a stack with the increment function.