470 views

1 Answer

1 votes
1 votes

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

Related questions

0 votes
0 votes
0 answers
1
ankitgupta.1729 asked Apr 11, 2018
1,437 views
How many total Homeomorphically Irreducible Trees are possible with 'n' nodes ?
–4 votes
–4 votes
2 answers
2
Souvik33 asked Oct 27, 2022
636 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 votes
0 votes
0 answers
3
Mayankprakash asked Nov 2, 2018
497 views
Please suggest how to learn AVL rotation in AVL trees and some good practice questions or link would be so much helpfulThanks
0 votes
0 votes
1 answer
4
once_2019 asked Jun 24, 2018
631 views
Is the root node an internal node?