729 views

1 Answer

1 1 vote

There are nn-2 labeled tree with n vertices

In a tree with 3 nodes we can have 3 labeled tree

suppose there a three nodes 1,2,3

1-2-3  ,  1-3-2 and 2-1-3

if n=3 we have 33-2=3 labeled trees

In a tree with 4 nodes we can have 16 labeled tree

In a tree with 5 nodes we can have 125 labeled tree

Position:
Show:

Related questions

0 0 votes
0 0 answers
2.0k
2.0k views
ankitgupta.1729 asked Apr 11, 2018
1,995 views
How many total Homeomorphically Irreducible Trees are possible with 'n' nodes ?
–4 –4 votes
2 answers 2 answers
1.8k
1.8k views
Souvik33 asked Oct 27, 2022
1,774 views
*MSQ*The following figure depicts a a. A tree and only treeb. A tree with 3 nodesc. A graph (Since every tree is a graph)d. A graph and only graph
0 0 votes
0 0 answers
1.2k
1.2k views
Mayankprakash asked Nov 2, 2018
1,177 views
Please suggest how to learn AVL rotation in AVL trees and some good practice questions or link would be so much helpfulThanks
0 0 votes
1 1 answer
1.1k
1.1k views
once_2019 asked Jun 24, 2018
1,145 views
Is the root node an internal node?