What is the number of vertices of degree 2 in a path graph having n vertices,here n>2.
(a) n-2
(b) n
(c) 2
(d) 0
I'm obligated to ask this question of Undirected Graph in portion Graph of Data Structures & Algorithms I
This question was posed to me in an international level competition.