A binary tree with 20 nodes has_________null branches?
Answers were Sorted based on User's Feedback
Answer / vivek sharma
Ans-21
Let us take a tree with 5 nodes (n=5)
It will have only 6 (ie,5+1) null branches. In general,
A binary tree with n nodes has exactly n+1 null nodes.
hence n = 20
s0.. n+1= 21
Is This Answer Correct ? | 57 Yes | 2 No |
Answer / phool chand
21
Let us take a tree with 5 nodes (n=5)
It will have only 6 (ie,5+1) null branches. In general, A binary tree with n nodes has exactly n+1 null nodes.
Is This Answer Correct ? | 6 Yes | 2 No |
plz tell me which books r important for gate exam (CSE)
Write a shell script to delete all files present in a directory “dir1”. Any error, if it occurs while carrying out this operation should be stored in a file errorlog
how to reuse an outdated laptop?
what size shaft is required to transmit 100 hp @1000 RPM ,if max shear stress is 10,000 PSI,angle of twist must be less than 1' /ft/shaft is made of steel.
basic difference between run time and compile time polymorphism
WHY IBM MAINFRAME TECHNOLOY IS USED.THOUGH, SINCE ITS INTRODUCTION IT HAS NO MAJOR UPDATATION OR MODIFICATION;BUT STILL IT IS IN DEMAND........WWWWWWWWWWWWWWHHHHHYYYYYYYY????????????
write a pgm to accept an array of names & name & check whether the name is present in the array. return the count of occurance. use following array as input; {"Dave","Ann","dev","merry"}
1)How to calculate AC Capacity for the Room?
discuss the conditional formatting and advanced filtering features in MS-Excel with suitable example
0 Answers Punjab Computer College,
who is your role modal give in few sentances
explain software engineering practices
could u please tell me where the click view tool coaching in hyderabad