MCQOPTIONS
Bookmark
Saved Bookmarks
→
Data Structures Mcqs
→
Algorithm Complexity Mcqs
→
The term push and pop is related to the
1.
The term push and pop is related to the
A.
Array
B.
Lists
C.
Stacks
D.
All of above
Answer» D. All of above
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
A .. is a linear list in which insertions and deletions are made to from either end of the structure.
An infix expression can be converted to a postfix expression using a ..
Aposterior analysis are more accurate than apriori analysis because
Assume that the operators +,-, X are left associative and ^ is right associative.The order of precedence (from highest to lowest) is ^, X, +, -. The postfix expression for the infix expression a + b X c d ^ e ^ f is
Consider these functions:push() : push an element into the stackpop() : pop the top-of-the-stack elementtop() : returns the item stored in top-of-the-stack-nodeWhat will be the output after performing these sequence of operationspush(20);push(4);top();pop();pop();pop();push(5);top();
Convert the following infix expression to postfix expression -A / B ^ C + D * E A * C
Convert the following infix expression to postfix expression -B * C C + D / A / ( E + E )
Convert the following infix expressions into its equivalent postfix expressions(A + B D)/(E F)+G
Expression1 * 2 ^ 3 * 4 ^ 5 * 6is evaluated as
Given below is the Node class to perform basic list operations and a Stack class with a no arg constructor. Select from the options the appropriate push() operation that can be included in the Stack class. Also first is the top-of-the-stack.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies