how to find the number of possible tree in the given tree.
Answer Posted / rohit
Question is wrong XXXX
it should be how to find no. of distinct binary tree ????
ANSWER IS--- (1/(n+1))*2nCn
| Is This Answer Correct ? | 6 Yes | 22 No |
Post New Answer View All Answers
What is data structure operations?
Can sets contain duplicates?
Define an algorithm. What are the types of algorithms?
What is a treeset?
What are data members?
Is copyonwritearraylist thread safe?
What happens if we try to insert duplicate key in hashmap?
In rdbms, explain what is the efficient data structure used in the internal storage representation?
How would you sort words in a large file?
Why null is not allowed in treemap?
Write a Program for Insert in a sorted list
Name few collections map implementations?
How to find middle element of linked list in one pass?
How many parts are there in a declaration statement?
an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].