GATE CS 2014, set 3 · Question 61 · Engineering Mathematics · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
If G is a forest with n vertices and k connected components, how many edges does G have?
- (A) ⌊ n/k ⌋
- (B) ⌈ n/k ⌉
- (C) n-k
- (D) n-k+1
Answer
Answer (C)
Answer from the official GATE CS 2014 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes