Question 5219 – Data-Structures
November 23, 2023Question 5649 – Data-Structures
November 23, 2023Question 5543 – Data-Structures
The number of different trees with 8 nodes is
Correct Answer: C
Question 477 Explanation:
Given data
— nodes=8
— Total number of trees=?
Possibility-1: To find total number of trees using nn-2.
= 88-2
= 262144 trees are possible.
Possibility-2: According to given problem, they are using binary tree based on below formula
= 2n -n
— nodes=8
— Total number of trees=?
Possibility-1: To find total number of trees using nn-2.
= 88-2
= 262144 trees are possible.
Possibility-2: According to given problem, they are using binary tree based on below formula
= 2n -n
= 28 -8
= 248
Note: They are not given proper input.
256
255
248
None of these
Subscribe
Login
0 Comments