a binary tee T have 20 leaves and number of nodes in that binary tree?
Answer Plz
- 11768 Views
- 5 Answers
5 Answers
-
-
- 10 Jul
- 0 Comment
-
-
Considering it to be a strictly binary tree, if the number of leaves is n then the number of nodes is (2n-1).br /Hence, is the above given question, the number of nodes will be {(2*20)-1} = 39
-
- 10 Jul
- 0 Comment
-
-
In Binary tree if there are N leaf nodes then the number of Nodes having two children will be N-1. So in this case answer will be 20-1, means 19.
-
- 26 Feb
- 0 Comment
-
- Which is a better choice , 'doing an MTech from an IIT' or 'get into a PSU?
- when I shud start preparation exactly.and what salary I can expect when I did mtech in IITs
- What is the syllabus of GATE 2018 for CSE students?
- what subject is most wethag in gate.
- Top coaching tutions or institute for gate preparation in INDIA specially kolkata?
- Sample Question papers for GATE CSE
- What GATE score and rank do I need to get in GATE (computer science) to get into PSUs?
- What was the number of registrations that took place in the year 2016?
- I have upgraded my plan but my money is debited from my account but the upgradation is not done
- i want to attempt unlimited questions each day for practice. but this app only provides 20 questions each day and that is not enough for me. to attempt as many questions i want what should i do?
Practice Mock Test
gate computer science (cs)
19 the logic of N-1 , if the leaf nodes are N then the number of nodes is N-1. so 19