Let $G=(V,E)$ be an undirected tree.
Let $d$ be the maximum degree of a vertex in the tree.
Prove that $G$ has at least $d$ leaves.
I need some help proving this, should I consider a run of BFS on that vertex?
Is that the correct direction?
Thanks!
Let $G=(V,E)$ be an undirected tree.
Let $d$ be the maximum degree of a vertex in the tree.
Prove that $G$ has at least $d$ leaves.
I need some help proving this, should I consider a run of BFS on that vertex?
Is that the correct direction?
Thanks!
When you cut the tree at the given vertex of maximal degree $d$, you get $d$ separate trees. Show that each such tree has at least two leaves. One of them can possibly be the vertex at which you cut the original tree, but even if you take that into account, you still get $d$ leaves. Show that these leaves are also leaves in the uncut graph.
I leave the details for you to figure out.