Recent questions tagged stack

1 votes
1 answer
61
A recursive problem like tower of hanoi can be rewritten without recursion using:stackpriority queuegraphcycles
1 votes
1 answer
63
1 votes
1 answer
64
The data structures most suitable to do an inorder and level order traversals of a binary tree respectively areStack and QueueQueue and StackStack and StackQueue and Queu...
1 votes
1 answer
65
3 votes
2 answers
68
Which of the following is the correct order of evaluation for the below expression? $z=x+y^*z/4\%2-1$$^*/\%+-=$$=^*/\%+-$$/^*\%-+=$$^*\% /-+=$
3 votes
1 answer
69
3 votes
2 answers
70
In the ________ traversal we process all of a vertex's descendants before we move to an adjacent vertex.Depth FirstBreadth FirstWidth FirstDepth Limited
1 votes
2 answers
72
What is the time required to insert an element in a stack with linked implementation ?$O (\log_2 n)$$O (n)$$O (n\log_2 n)$$O (1)$
0 votes
1 answer
73
What is the time required to insert an element in a stack with linked implementation?$O \left(\log_{2}n \right)$$O \left(n \right)$$O \left(n \log_{2}n \right)$$O \left(1...
4 votes
2 answers
76
1 votes
0 answers
81
Is it TRUE or FALSE?Stack allocation can allocate and deallocate dynamic variables and can manage runtime storage
0 votes
0 answers
82
2 votes
3 answers
83
Runtime stack doesnot contain(A) Local variables(B) Static Variables(C) Parameter Passed(D) Return Address
1 votes
0 answers
86
0 votes
0 answers
87
0 votes
1 answer
88
infix ,postfix ,prefix expression evalution stack use as operator or operand?
1 votes
1 answer
89
How many enqueue and dequeue operations are required to perform a pop operation if Q1 contains n element initially?