Frage im Vorstellungsgespräch bei IMC Trading

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