+1 vote
in Data Structures & Algorithms I by (88.2k points)
The number of elements in the adjacency matrix of a graph having 7 vertices is __________

(a) 7

(b) 14

(c) 36

(d) 49

Origin of the question is Adjacency Matrix in portion Graph of Data Structures & Algorithms I

I have been asked this question during a job interview.

1 Answer

+1 vote
by (737k points)
selected by
 
Best answer
Correct option is (d) 49

To explain: There are n*n elements in the adjacency matrix of a graph with n vertices.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...