×
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
I have done my MCA want to do mtech-phd dual degree program through gate
there are any MCQ type question in GATE exam paper.
i could not study for a long time what to do
anyone say me the cut off required for cs stream to get into psu's
qus > I have passed in 2017 but I have a backlog. Can I apply for GATE 2018?
how percentile is calculated in gate
How are previous papers helpful?
How much time one need to give per day to crack GATE in one year ?
plez give the detailed syllabus of cs in gate exam
What is the fees for candidates with foreign nationality?
Ask a Question
Practice Mock Test
gate computer science (cs)
Take Mock Test
×
Close
Ask / Start a new topic
title
forum