Stack

« Back to Glossary Index

A stack is a data structure that follows last-in, first-out (LIFO) order. Stacks are used for function calls, expression evaluation, and undo operations. Example: Call stack storing function frames.


← Back

« Back to Glossary Index