No. of possible ordered trees with n nodes ? Please give
formula (if any).

Answers were Sorted based on User's Feedback



No. of possible ordered trees with n nodes ? Please give formula (if any)...

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

No. of possible ordered trees with n nodes ? Please give formula (if any)...

Answer / c y rao

2(n!)

Is This Answer Correct ?    8 Yes 21 No

Post New Answer

More Data Structures Interview Questions

Differentiate between iterator and enumeration.

0 Answers  


What are linked list?

0 Answers  


Is a hashmap a dictionary?

0 Answers  


How do you reference all the elements in a one-dimension array?

0 Answers  


What is breadth first tree?

0 Answers  






List out few of the Application of tree data-structure?

1 Answers  


How to print element of Array?

0 Answers  


Which is better hashset or treeset?

0 Answers  


What is the best data structure and algorithm to implement cache?

0 Answers   Adobe,


Differentiate between hashset and treeset.

0 Answers  


Difference between hashset and treeset?

0 Answers  


Complete structure of hashmap, very detail description, along with the basic coding of the hashmap internal implementation.

0 Answers   Expedia,


Categories