No. of possible ordered trees with n nodes ? Please give
formula (if any).
Answers were Sorted based on User's Feedback
Answer / 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 |
What is difference between arraylist and linkedlist?
what is the difference between singly and doubly linked lists?
Which is better hashset or treeset?
What are the properties of binary tree?
What are the main differences between the linked list and linear array?
How to get largest and smallest number in an array?
Is arraylist faster than array?
Is array immutable?
Does hashtable allow null values?
Is hashmap part of collection?
Which data structure is used to perform recursion?
Write an algorithm to show the reverse of link list?