General noun for a stack or pile of items, often used in everyday contexts.
I pushed the new data onto the stack.
There is a stack of documents on the desk.
Computing term for a LIFO data structure.
The program pushes function calls onto the stack.
You pop the most recently added element off the stack.
Once all the elements were popped, the stack became empty.
キュー is a FIFO (first-in-first-out) data structure, while スタック is LIFO (last-in-first-out), so items are removed in opposite orders.
Borrowed from English 'stack'.