Examveda

Which of these adjacency matrices represents a simple graph?

A. [ [1, 0, 0], [0, 1, 0], [0, 1, 1] ]

B. [ [1, 1, 1], [1, 1, 1], [1, 1, 1] ]

C. [ [0, 0, 1], [0, 0, 0], [0, 0, 1] ]

D. [ [0, 0, 1], [1, 0, 1], [1, 0, 0] ]

Answer: Option D


This Question Belongs to Data Structure >> Graphs

Join The Discussion

Related Questions on Graphs

What is a cycle in a graph?

A. A path that starts and ends at the same vertex with no other repetitions.

B. A path that includes all vertices exactly once.

C. A path with no edges.

D. A complete traversal of all vertices.