×
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
GATE syllabus for Computer science
about the cut off marks for iit kanpur
what are the public sectors to give the jobs for computer science students?
How can I access my online application form, in case I forgot to take a print out of it after filling?
How are previous papers helpful?
Sample Question papers for GATE CSE
Where can I find the good books for GATE Computer Science (CS)?
which book is the best for GATE preparation with theory.
How can I prepare for GATE from 1st year (CS engineering)?
Which test series is the best for GATE computer science stream?
Ask a Question
Practice Mock Test
gate computer science (cs)
Take Mock Test
×
Close
Ask / Start a new topic
title
forum