Let ๐‘‡ be a full binary tree with 8 leaves. (A full binary tree has every level full.) Suppose two leaves ๐‘Ž and ๐‘ of ๐‘‡ are chosen uniformly and independently at random

Q. Let ๐‘‡ be a full binary tree with 8 leaves. (A full binary tree has every level full.) Suppose two leaves ๐‘Ž and ๐‘ of ๐‘‡ are chosen uniformly and independently at random. The expected value of the distance between ๐‘Ž and ๐‘ in ๐‘‡ (i.e., the number of edges in the unique path between ๐‘Ž and ๐‘) is (rounded off to 2 decimal places)

Solution:

Sum of distances from a particular leaf to the remaining 7 leaves is 34. The sum would remain the same for each leaf node. Therefore total sum of distance of all the leaf nodes = 34*8.

Two leaf nodes can be selected in 8*8 = 64 ways.

Therefore, the expected value of the length between a and b in T,

= (34*8) / (8*8)

= 34 / 8

= 4.25

Take Mock Tests

Government Schemes Mock Test Start Test!
Political Science Mock Test โ€“ 42 Start Test
History Test โ€“ 190 Start Test
Quantitative Aptitude Test Start Test!
Data Interpretation - Mock Test Start Test!
General Awareness - Mock Test Start Test!
Reasoning Ability - Mock Test Start Test!
We will be happy to hear your thoughts

Leave a reply

Gkseries.com
Logo
Register New Account