Render

Stack & Queue Playground

A stack is LIFO (last in, first out) — the last item pushed is the first popped. A queue is FIFO (first in, first out) — the first item enqueued is the first dequeued.

Stack (LIFO) — size 0

Contents (bottom → top): (empty)

Top: (none) — Pop would panic.

Queue (FIFO) — size 0

Contents (front → back): (empty)

Front: (none) — Dequeue would panic.


Tip: push the same sequence into both, then Pop vs Dequeue to see LIFO reverse it while FIFO preserves order.

Transactions

Calls, deploys, and child packages · indexed history

No indexed transactions for this realm yet.

Call function

Connect Adena in the header · vm.m_call · qfuncs only

Source (qfile)