{"id":154162,"date":"2023-08-02T16:01:21","date_gmt":"2023-08-02T10:31:21","guid":{"rendered":"https:\/\/www.gkseries.com\/blog\/?p=154162"},"modified":"2023-08-02T16:01:23","modified_gmt":"2023-08-02T10:31:23","slug":"let-%f0%9d%91%87-be-a-full-binary-tree-with-8-leaves-a-full-binary-tree-has-every-level-full-suppose-two-leaves-%f0%9d%91%8e-and-%f0%9d%91%8f-of-%f0%9d%91%87-are-chosen-uniformly-and-independently","status":"publish","type":"post","link":"https:\/\/www.gkseries.com\/blog\/let-%f0%9d%91%87-be-a-full-binary-tree-with-8-leaves-a-full-binary-tree-has-every-level-full-suppose-two-leaves-%f0%9d%91%8e-and-%f0%9d%91%8f-of-%f0%9d%91%87-are-chosen-uniformly-and-independently\/","title":{"rendered":"Let \ud835\udc47 be a full binary tree with 8 leaves. (A full binary tree has every level full.) Suppose two leaves \ud835\udc4e and \ud835\udc4f of \ud835\udc47 are chosen uniformly and independently at random"},"content":{"rendered":"\n<p>Q. Let \ud835\udc47 be a full binary tree with 8 leaves. (A full binary tree has every level full.) Suppose two leaves \ud835\udc4e and \ud835\udc4f of \ud835\udc47 are chosen uniformly and independently at random. The expected value of the distance between \ud835\udc4e and \ud835\udc4f in \ud835\udc47 (i.e., the number of edges in the unique path between \ud835\udc4e and \ud835\udc4f) is (rounded off to 2 decimal places)<\/p>\n\n\n\n<p>Solution: <\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Two leaf nodes can be selected in 8*8 = 64 ways.<\/p>\n\n\n\n<p>Therefore, the expected value of the length between a and b in T,<\/p>\n\n\n\n<p>= (34*8) \/ (8*8)<\/p>\n\n\n\n<p>= 34 \/ 8<\/p>\n\n\n\n<p>= 4.25<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Q. Let \ud835\udc47 be a full binary tree with 8 leaves. (A full binary tree has every level full.) Suppose two leaves \ud835\udc4e and \ud835\udc4f of \ud835\udc47 are chosen uniformly and independently at random. The expected value of the distance between \ud835\udc4e and \ud835\udc4f in \ud835\udc47 (i.e., the number of edges in the unique path [&hellip;]<\/p>\n","protected":false},"author":419,"featured_media":154163,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5141],"tags":[5140],"class_list":["post-154162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gate","tag-gate-questions"],"_links":{"self":[{"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/posts\/154162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/users\/419"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/comments?post=154162"}],"version-history":[{"count":1,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/posts\/154162\/revisions"}],"predecessor-version":[{"id":154164,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/posts\/154162\/revisions\/154164"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/media\/154163"}],"wp:attachment":[{"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/media?parent=154162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/categories?post=154162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gkseries.com\/blog\/wp-json\/wp\/v2\/tags?post=154162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}