Stacks In Data Structures - Study Mode
[#131] What would be the Prefix notation for the given equation? A+(B*C)
Correct Answer
(C) +A*BC
[#132] What is the result of the given postfix expression? abc*+ where a=1, b=2, c=3.
Correct Answer
(D) 7
[#133] What is the time complexity of evaluation of postfix expression algorithm?
Correct Answer
(A) O (N)
[#134] What would be the solution to the given prefix notation? / / / 16 4 2 1
Correct Answer
(C) 2
[#135] What is the time complexity of an infix to postfix conversion algorithm?
Correct Answer
(B) O(N)