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] ]
My enquiry is from Adjacency Matrix in portion Graph of Data Structures & Algorithms I
The question was posed to me in an international level competition.