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

How can you insert a node at the end of linked list?

0 Answers  


What is the difference between data types and data structures?

0 Answers  


How do you solve a selection sort?

0 Answers  


What is precision in data structures?

0 Answers  


What is a stable algorithm?

0 Answers  






Given an unsorted linked list, and without using a temporary buffer, write a method that will delete any duplicates from the linked list?

0 Answers  


Which is better hashmap or arraylist?

0 Answers  


Why do we use different types of data structures?

0 Answers  


What is shell sort in data structure?

0 Answers  


What is a hashers run?

0 Answers  


Does treemap sort automatically?

0 Answers  


Is collection a class or interface?

0 Answers  


Categories