J Julipkq New member Sep 16, 2021 #1 Given the following adjacency matrix of a graph(G) determine the number of components in the G. Code: [0 1 1 0 0 0], [1 0 1 0 0 0], [1 1 0 0 0 0], [0 0 0 0 1 0], [0 0 0 1 0 0], [0 0 0 0 0 0]. A. 1 B. 2 C. 3 D. 4
Given the following adjacency matrix of a graph(G) determine the number of components in the G. Code: [0 1 1 0 0 0], [1 0 1 0 0 0], [1 1 0 0 0 0], [0 0 0 0 1 0], [0 0 0 1 0 0], [0 0 0 0 0 0]. A. 1 B. 2 C. 3 D. 4
Đ Đặng Thị Thúy Hằng New member Sep 16, 2021 #2 Answer: C Explanation: 0th 1st and 2nd vertices form a component, 3rd and 4th forms another and 5th vertex forms a component of a single vertex. Upvote 0 Downvote
Answer: C Explanation: 0th 1st and 2nd vertices form a component, 3rd and 4th forms another and 5th vertex forms a component of a single vertex.