1/26
Looks like no tags are added yet.
Abstract Data Type (ADT)
A formal description of a data structure, independent of any programming language.
Stack
A collection with access only to the last element inserted, following the Last In - First Out (LIFO) principle.
LIFO
Last In, First Out; refers to a type of data structure where the last element inserted is the first to be removed.
Push
An operation to add an item to the top of the stack.
Pop
An operation to remove the top item from the stack.
Enqueue
An operation to add an item to the end of a queue.
Dequeue
An operation to remove an item from the front of a queue.
Queue
A linear structure that follows the First In, First Out (FIFO) principle.
Deque
Double-ended queue that allows adding and removing elements from both ends.
Python List
A built-in data structure in Python that can be used to implement stacks and queues.
Encapsulation
The bundling of data with the methods that operate on that data, restricting direct access to some components.
Parenthesis Matching
The process of determining whether parentheses in an expression are correctly balanced.
Prefix Expression
An arithmetic expression format where the operator precedes its operands.
Postfix Expression
An arithmetic expression format where the operator follows its operands.
Infix Expression
An arithmetic expression format where the operator is between operands.
Operator Precedence
The rules that determine the order in which different types of operations are evaluated.
Time Complexity
A computational complexity that describes the amount of time it takes to run an algorithm as a function of the size of the input.
Traversal
The process of visiting each node or element in a data structure.
Maze Algorithm
An algorithm that uses a stack to find paths through a maze by storing unvisited paths.
History Stack
A stack used by web browsers to keep track of pages visited, allowing the user to navigate backward.
Stack Implementation
The way a stack is implemented using a programming language, including methods such as push, pop, and peek.
Functional Testing
Testing the features and operations of the stack to ensure they work as intended.
Conversion Algorithm
A systematic method for transforming one arithmetic expression format to another, such as from infix to postfix.
Evaluation
The process of computing the value of an expression.
Stack Overflow
An error that occurs when too much memory is used on the call stack.
Stack Underflow
An error that occurs when attempting to pop an item from an empty stack.
If I successively store a, b, c, and d in a stack, when I retrieve them I get back:
d, then c, then b, then a.