1,058 views
3 votes
3 votes
Number of rooted labeled trees(i.e. each node can be the root) with  6 vertices is:

1 Answer

Best answer
3 votes
3 votes
Number of labeled trees of n nodes is $n^{n-2}$

Now when each node can be root so for root we have n choices

Thus $n^{n-2}$*n=$n^{n-1}$

For n=6 7776 tree are possible
selected by

Related questions

1 votes
1 votes
4 answers
2
Parimal Paritosh asked Feb 19, 2018
1,227 views
Given a preorder, postorder and inorder traversal of a tree, is it always possible to obtain a tree that satisfies each of the three conditions? Or is it possible to not ...