Recent questions tagged stack

1 votes
1 answer
61
A recursive problem like tower of hanoi can be rewritten without recursion using:stackpriority queuegraphcycles
3 votes
2 answers
62
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
63
3 votes
2 answers
64
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
66
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
67
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
70
1 votes
0 answers
75
Is it TRUE or FALSE?Stack allocation can allocate and deallocate dynamic variables and can manage runtime storage
0 votes
0 answers
76
2 votes
3 answers
77
Runtime stack doesnot contain(A) Local variables(B) Static Variables(C) Parameter Passed(D) Return Address
1 votes
0 answers
80
0 votes
0 answers
81
0 votes
1 answer
82
infix ,postfix ,prefix expression evalution stack use as operator or operand?
1 votes
1 answer
83
How many enqueue and dequeue operations are required to perform a pop operation if Q1 contains n element initially?