Stack Simulator
Current Stack:
{% for item in stack %}
{{ item }}
{% else %}
Stack is empty
{% endfor %}
{% if top %}
Top element:
{{ top }}
{% endif %}
Push
Pop
Peek
Back to Hub