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 · 日本語
スタックは、コンピュータで用いられる基本的なデータ構造の1つで、データを後入れ先出し(LIFO: Last In First Out; FILO: First In Last Out)の構造で保持するものである。抽象データ型としてのそれを指すこともあれば、その具象を指すこともある。 特にその具象としては、割込みやサブルーチンを支援するために極めて有用であることから、1970年代以降に新しく設計された、ある規模以上のコンピュータは、スタックポインタによるコールスタックをメモリ上に持っていることが多い。
Abstract from DBpedia / Wikipedia · CC BY-SA