×
Information!
Sign In
to continue to Youth4work
UserName, Email or phone
Enter your password
Remember me
Register
|
Forgot password
Login
Practice Tests
yTests - Skill Tests
Prep Tests
Psychometric Test
Typing Test
For Job Seekers
Search Jobs
Post Resume
yTests - Skill Tests
Prep Tests
Follow Employers
Job Insights
Certification Courses
For Employers
Post Jobs - Free
Contact Pre-Assessed Profiles
Campus Hiring
Managed Recruitment
Assessment Solutions
Subscription Plans
Sign In
Register
Free !!
Practice Tests
yTests - Skill Tests
Prep Tests
Psychometric Test
Typing Test
For Job Seekers
Search Jobs
Post Resume
yTests - Skill Tests
Prep Tests
Follow Employers
Job Insights
Certification Courses
For Employers
Post Jobs - Free
Contact Pre-Assessed Profiles
Campus Hiring
Managed Recruitment
Assessment Solutions
Subscription Plans
Sign In
Register
Free !!
×
Information!
Online Prep Test
Gate Computer Science (Cs)
Forum
a binary tee T have 20 leaves and number of nodes in that binary tree?
a binary tee T have 20 leaves and number of nodes in that binary tree?
Answer Plz
Manikanta
02 Jun
5 Answers
answer
Answer
×
5 Answers
Sort by
Recent Answer
Top Voted
Recent Answer
1
-
5
of
5
5 Answers
Sort by
Recent Answer
Top Voted
Recent Answer
RB
Rachana
10 Jul
19 the logic of N-1 , if the leaf nodes are N then the number of nodes is N-1. so 19
0
Comment
0
View all vote's
Modal content
×
All-Votes
No Vote
No Up Vote
No Down Vote
×
AM
Ankona
10 Jul
Considering it to be a strictly binary tree, if the number of leaves is n then the number of nodes is (2n-1).
Hence, is the above given question, the number of nodes will be {(2*20)-1} = 39
0
Comment
0
View all vote's
Modal content
×
All-Votes
No Vote
No Up Vote
No Down Vote
×
Radib
28 Jun
total no of nodes?
is it a complete one?
then 20+19=39
0
Comment
0
View all vote's
Modal content
×
All-Votes
No Vote
No Up Vote
No Down Vote
×
Manikanta
02 Mar
Tq
0
Comment
0
View all vote's
Modal content
×
All-Votes
No Vote
No Up Vote
No Down Vote
×
Shruti
26 Feb
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.
0
Comment
3
View all vote's
Modal content
×
All-Votes
meenakshi
yash
nitin
raj
prayag
yash
nitin
raj
prayag
meenakshi
×
Other Related Discussions
Name top 10 IITS for M.tech is CS after GATE ?
How I study as I have to give exam for gate 2019 ? As I also go to college and coaching also so how i manage time to study ..please some one help me out.
What is the syllabus of GATE CSE 2019?
Can I change my mobile No or Email ID after I have submitted my GATE Application Form?
Post graduation opportunities overseas
i want to start preparing for gate iam studying 2nd year btech and iam little dull in maths so please give me suggestions
How can I access my online application form, in case I forgot to take a print out of it after filling?
what are the public sectors to give the jobs for computer science students?
which book is good for reasoning and aptitude ?
What GATE score and rank do I need to get in GATE (computer science) to get into PSUs?
Ask a Question
Practice Mock Test
gate computer science (cs)
Take Mock Test
×
Close
Ask / Start a new topic
title
forum