No. of possible ordered trees with n nodes ? Please give
formula (if any).
Answer Posted / rohit
I think it will be solved using catalan number.
using the formula 2(n-1) C (n-1) /n;
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
You want to insert a new item in a binary search tree. How would you do it?
Define a full binary tree ?
How do you assign an address to an element of a pointer array ?
Explain the difference between hashset and hashmap?
What is the space complexity of quicksort?
When will we get ArrayStoreException?
Which is faster hashmap or treemap?
Explain Array
What is non linear data structure with example?
Why is bubble sort stable?
What is collections singletonmap?
How hashmap increases its size?
State the merits of linear representation of binary trees?
In rdbms, explain what is the efficient data structure used in the internal storage representation?
What is difference between hashmap and hashset?