<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":460,"date":"2021-07-13T10:44:37","date_gmt":"2021-07-13T10:44:37","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=460"},"modified":"2021-09-20T10:55:07","modified_gmt":"2021-09-20T10:55:07","slug":"if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/","title":{"rendered":"If the depth of a tree is 3 levels, then what is the size of the Tree ?"},"content":{"rendered":"<div class=\"row\">\n<div class=\"col-sm-12\">\n<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h3 id=\"if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\" class=\"color-pink\" style=\"text-align: justify;\">If the depth of a tree is 3 levels, then what is the size of the Tree ?<\/h3>\n<div class=\"row\" style=\"text-align: justify;\">\n<div class=\"col-sm-6\">\n<p>A. 2<\/p>\n<\/div>\n<div class=\"col-sm-6\">\n<p>B. 4<\/p>\n<\/div>\n<div class=\"col-sm-6\">\n<p>C. 6<\/p>\n<\/div>\n<div class=\"col-sm-6\">\n<p>D. 8<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"answer-d-8\" style=\"text-align: justify;\"><b>Answer :\u00a0<\/b>D. 8<\/h3>\n<div class=\"subheading\" style=\"text-align: justify;\">\n<h2 id=\"explanation\">Explanation :<\/h2>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>You calculate the size of a tree by using the following formula: size = 2\u00a0<sup>depth<\/sup><\/li>\n<li>If the depth is 3 levels, then the size of tree is 2\u00a0<sup>3<\/sup>\u00a0= 8<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"text-center row\">\n<div class=\"col-sm-12\">\n<div id=\"bsa-zone_1590522538159-8_123456\" style=\"text-align: justify;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : D. 8<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[3028],"tags":[195,971,16520,491,221,3060,368,3068,203,199,214,198,363,3057,3070,3072,3076,205,3071,3077,3059,3075,3066,3069,3064,3080,3082,222,484,3054,3074,3061,3062,3065,3067,3058,3078,196,3073,212,3079,3063,3081,207,366,204,206,972,200,3055,197,968,3056,285,969],"class_list":["post-460","post","type-post","status-publish","format-standard","hentry","category-data-structure","tag-accenture-interview-questions-and-answers","tag-altimetrik-india-pvt-ltd-interview-questions-and-answers","tag-amcat-previous-papers-with-solutions","tag-applied-materials-interview-questions-and-answers","tag-bharti-airtel-interview-questions-and-answers","tag-binary-tree-height","tag-bmc-software-interview-questions-and-answers","tag-calculate-depth-of-a-full-binary-tree-from-preorder","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-chetu-interview-questions-and-answers","tag-ciena-corporation-interview-questions-and-answers","tag-collabera-te-interview-questions-and-answers","tag-complete-binary-tree-height-4","tag-define-height-of-a-binary-tree","tag-degree-of-tree-in-data-structure","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-depth-of-binary-tree","tag-depth-of-binary-tree-formula","tag-depth-of-binary-tree-with-n-nodes","tag-depth-of-complete-binary-tree","tag-depth-of-complete-binary-tree-in-log","tag-depth-of-complete-binary-tree-is-given-by","tag-depth-of-complete-binary-tree-with-n-nodes-in-log","tag-find-depth-of-binary-tree-java","tag-find-height-of-binary-tree-c","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-globallogic-india-pvt-ltd-interview-questions-and-answers","tag-height-of-a-binary-tree-formula","tag-height-of-a-tree","tag-height-of-a-tree-formula","tag-height-of-complete-binary-tree","tag-how-to-calculate-depth-of-complete-binary-tree-with-n-nodes","tag-how-to-find-depth-of-binary-tree","tag-how-to-find-height-of-binary-tree","tag-ibm-interview-questions-and-answers","tag-if-a-binary-tree-has-10-nodes-then-what-is-the-height-of-the-tree","tag-indecomm-global-services-interview-questions-and-answers","tag-maximum-depth-of-binary-tree-python","tag-maximum-height-of-binary-tree","tag-minimum-depth-of-binary-tree","tag-mphasis-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-sapient-consulting-pvt-ltd-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-tracxn-technologies-pvt-ltd-interview-questions-and-answers","tag-unitedhealth-group-interview-questions-and-answers","tag-wipro-infotech-interview-questions-and-answers","tag-wm-global-technology-services-india-pvt-ltd-limited-wmgts-interview-questions-and-answers","tag-xoriant-solutions-pvt-ltd-interview-questions-and-answers","tag-yodlee-infotech-pvt-ltd-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>If the depth of a tree is 3 levels, then what is the size of the Tree ?<\/title>\n<meta name=\"description\" content=\"If the depth of a tree is 3 levels, then what is the size of the Tree ? - You calculate the size of a tree by using the following formula: size = 2 depth\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"If the depth of a tree is 3 levels, then what is the size of the Tree ?\" \/>\n<meta property=\"og:description\" content=\"If the depth of a tree is 3 levels, then what is the size of the Tree ? - You calculate the size of a tree by using the following formula: size = 2 depth\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-13T10:44:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-20T10:55:07+00:00\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/\",\"name\":\"If the depth of a tree is 3 levels, then what is the size of the Tree ?\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"datePublished\":\"2021-07-13T10:44:37+00:00\",\"dateModified\":\"2021-09-20T10:55:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"If the depth of a tree is 3 levels, then what is the size of the Tree ? - You calculate the size of a tree by using the following formula: size = 2 depth\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"If the depth of a tree is 3 levels, then what is the size of the Tree ?","description":"If the depth of a tree is 3 levels, then what is the size of the Tree ? - You calculate the size of a tree by using the following formula: size = 2 depth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/","og_locale":"en_US","og_type":"article","og_title":"If the depth of a tree is 3 levels, then what is the size of the Tree ?","og_description":"If the depth of a tree is 3 levels, then what is the size of the Tree ? - You calculate the size of a tree by using the following formula: size = 2 depth","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/","og_site_name":"Wikitechy","article_published_time":"2021-07-13T10:44:37+00:00","article_modified_time":"2021-09-20T10:55:07+00:00","author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/","name":"If the depth of a tree is 3 levels, then what is the size of the Tree ?","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"datePublished":"2021-07-13T10:44:37+00:00","dateModified":"2021-09-20T10:55:07+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"If the depth of a tree is 3 levels, then what is the size of the Tree ? - You calculate the size of a tree by using the following formula: size = 2 depth","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/data-structure\/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":3543,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/460\/revisions\/3543"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}