File:Tallrik_-_Ystad-2018.jpg · Wikimedia Commons · See Wikimedia Commons
A stack is a way of organizing data where items are added and removed from the same end, following a "last in, first out" principle—like a stack of plates where you take the top plate off first. This simple organizational method matters because it's useful for many computing tasks, such as undoing actions in software or managing how a computer processes nested instructions.
AI-generated from the Wikipedia summary — may contain errors.
Wikidata facts
- Image
- Data stack-ar.svg
Show 2 more facts
- Commons category
- Stack data structures
- Stack Exchange tag
- cs.stackexchange.com/tags/stacks
Sources (3)
via Wikidata · CC0
Article · Nederlands
Een stack of stapel is in de informatica een datastructuur voor de opslag van een wisselend aantal elementen, waarvoor geldt dat, net als bij een gewone stapel, het element dat het laatst werd toegevoegd, het eerst weer wordt opgehaald. Dit principe wordt ook wel LIFO (Last In First Out) genoemd. De tegenhanger van de stack is de queue, die volgens het FIFO (First In First Out) principe werkt.
Abstract from DBpedia / Wikipedia · CC BY-SA