1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Standard VIII
Mathematics
Divisibility by 10
Consider the ...
Question
Consider the following new - order strategy for traversing a binary tree:
The New - order traversal of the expression tree corresponding to the reverse polish expression 3 4 * 5 - 2 ^ 6 7 * 1 + - is given by
A
- + 1 * 7 6 ^ 2 - 5 * 4 3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
+ - 1 6 7 * 2 ^ 5 - 3 4 *
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
- + 1 * 6 7 ^ 2 - 5 * 3 4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
1 7 6 * 2 5 4 3 * - ^ -
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is
A
- + 1 * 7 6 ^ 2 - 5 * 4 3
The expression is given in reverse polish notation i.e., post order.
Expression is 3 4 * 5 - 2 ^ 6 7 * 1 + -
Expression tree for above post order expression is
From the above expression tree NEW ORDER traversal is - + 1 * 7 6 ^ 2 - 5 * 4 3
Suggest Corrections
0
Similar questions
Q.
Consider the following New-order startegy for traversing a binary tree.The New-order traversal of the expression tree corresponding to the reverse polish expression
(3 4 * 5 - 2 ^ 6 7 * 1 + -)
is given by
Q.
A weight balanced tree is a binary tree in which for each node, the number of nodes in left subtree is at least half at most twice the number of nodes in the right subtree. The maximum possible height of such a tree on n nodes is best described by which of the following?
Q.
If each node in a tree has value greater then every value in its left subtree and has value less than every value in its right subtree, the tree is know as
Q.
Arrange the following parts of a bad news letter in the recommended order.
(1) Present the bad news positively
(2) End on a positive note
(3) Be neutral to the answer and set up a strategy
(4) Explain or justify the facts
Select the correct answer from the options given below -
Q.
Use the correct order of the following brackets for simplifying the expression.
(), [ ], { }
100 - (3 + 5 × (6 - (1 + 4)))
View More
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
Why Divisibility Rules?
MATHEMATICS
Watch in App
Explore more
Divisibility by 10
Standard VIII Mathematics
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app