+1 vote
in Data Structures & Algorithms I by (110k points)
From the given expression tree, identify the infix expression, evaluate it and choose the correct result.

(a) 5

(b) 10

(c) 12

(d) 16

This key question is from Evaluation of an Infix Expression (Not Parenthesized) in division Application of Stacks of Data Structures & Algorithms I

The question was posed to me during an interview.

1 Answer

+1 vote
by (408k points)
selected by
 
Best answer
Correct answer is (c) 12

The explanation is: From the given expression tree, the result of the infix expression is evaluated to be 12.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...