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

Julipkq

New member
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
 

Tìm kiếm

Back
Top