question Flashcards
is a linear data structure which follows a particular order in which the operations are performed.
stack
The order may be LIFO(Last In First Out) or FILO(First In Last Out).
stack
Stack terminology ( 2 )
push() pop()
(storing) an element on the stack.
push
Removing (accessing) an element from the stack.
pop()
get the top data element of the stack, without removing it
peek()
The way to write arithmetic expression is known as a _______
notation
Notations ( 3 )
infix, prefix, postfix
where operators are used in-between operands.
infix notation
the operator is written after the operands.
postfix notation
is an abstract data structure, somewhat similar to Stacks.
queue
The process of putting a new data element onto stack is known as a
push operation
operator is written ahead of operands.
prefix notation
This notation style is known asReversed Polish Notation
postfix notation
This search algorithm works on the principle of divide and conquer.
Binary Search
True or false
Interpolation search is an improved variant of binary search
true
True or false
In interpolation, the data collection should be in a sorted form and equally distributed
true
True or false
In interpolation, The algorithm works on the probing position of the required value
true