how to find the number of possible tree in the given tree.

Answer Posted / baskerdearer

number of possible tree = (2 power n) - n.
for example:
A tree contain three node.
so n=3.
possible tree = 8 - 3 = 5.

Is This Answer Correct ?    179 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster hashmap or linkedhashmap?

524


Differentiate between list and map.

593


Which sorting does collections sort use?

486


How do I sort hashset?

495


Write the syntax in c to create a node in the singly linked list.

542






Why is null not allowed in concurrenthashmap?

459


Define terminal nodes in a tree?

557


What is a graph?

583


How do you assign an address to an element of a pointer array ?

506


Is it possible to increase size of array?

462


Does arraylist maintain insertion order?

465


What is binary search in data structure?

453


What is binary tree give example?

500


What is Jagged Arrays?

549


Which is faster binary or linear search?

481