Math, asked by ssatender9961, 1 year ago

If g is a forest with n vertices and k connected components, how many edges does g have?

Answers

Answered by AnmolRaii
0

Answer: (C)

Explanation: Each component will have n/k vertices (pigeonhole principle). Hence, for each component there will be (n/k)-1 edges.

Since there are k components, total number of edges= k*((n/k)-1) = n-k.

Similar questions