Stack: meaning, definitions and examples

๐Ÿ“š
Add to dictionary

stack

 

[ stรฆk ]

Context #1

data structure

A stack is a linear data structure that follows the Last In First Out (LIFO) principle. This means that the element which is added last is the one that can be accessed and removed first.

Synonyms

LIFO structure, stack data structure

Examples of usage

  • Pushing elements onto a stack.
  • Popping elements from a stack.
  • Checking if a stack is empty.
Context #2

computing

In computing, a stack is a region of memory that operates in a Last In First Out manner. It is used for function calls, local variables, and other purposes.

Synonyms

call stack, memory stack

Examples of usage

  • Pushing parameters onto the stack.
  • Popping values from the stack.
  • Managing the stack pointer.
Context #3

arrange in a pile

To stack means to arrange things neatly one on top of the other. It is often used in the context of stacking items such as books, plates, or boxes.

Synonyms

arrange in a stack, heap, pile up

Examples of usage

  • Stacking books on the shelf.
  • Stacking dishes in the kitchen.
  • Stacking boxes in the warehouse.

Translations

Translations of the word "stack" in other languages:

๐Ÿ‡ต๐Ÿ‡น pilha

๐Ÿ‡ฎ๐Ÿ‡ณ เคขเฅ‡เคฐ

๐Ÿ‡ฉ๐Ÿ‡ช Stapel

๐Ÿ‡ฎ๐Ÿ‡ฉ tumpukan

๐Ÿ‡บ๐Ÿ‡ฆ ะบัƒะฟะบะฐ

๐Ÿ‡ต๐Ÿ‡ฑ stos

๐Ÿ‡ฏ๐Ÿ‡ต ใ‚นใ‚ฟใƒƒใ‚ฏ

๐Ÿ‡ซ๐Ÿ‡ท pile

๐Ÿ‡ช๐Ÿ‡ธ pila

๐Ÿ‡น๐Ÿ‡ท yฤฑฤŸฤฑn

๐Ÿ‡ฐ๐Ÿ‡ท ๋”๋ฏธ

๐Ÿ‡ธ๐Ÿ‡ฆ ูƒูˆู…ุฉ

๐Ÿ‡จ๐Ÿ‡ฟ stoh

๐Ÿ‡ธ๐Ÿ‡ฐ kopa

๐Ÿ‡จ๐Ÿ‡ณ ๅ †

๐Ÿ‡ธ๐Ÿ‡ฎ kup

๐Ÿ‡ฎ๐Ÿ‡ธ stafli

๐Ÿ‡ฐ๐Ÿ‡ฟ าฏะนั–ะฝะดั–

๐Ÿ‡ฌ๐Ÿ‡ช แƒกแƒขแƒ”แƒ™แƒ˜

๐Ÿ‡ฆ๐Ÿ‡ฟ yฤฑฤŸฤฑn

๐Ÿ‡ฒ๐Ÿ‡ฝ pila

Word origin

The word 'stack' has a long history, dating back to the 12th century. It originally referred to a pile of things, such as hay or grain. The computing sense of 'stack' emerged in the mid-20th century with the development of programming languages. The concept of a stack has become fundamental in computer science and various other fields.

See also: stacked, stacking.