+1 vote
in Data Structures & Algorithms I by (88.2k points)
If A[x+3][y+5] represents an adjacency matrix, which of these could be the value of x and y.

(a) x=5, y=3

(b) x=3, y=5

(c) x=3, y=3

(d) x=5, y=5

The question is from Adjacency Matrix topic in chapter Graph of Data Structures & Algorithms I

I have been asked this question by my college director while I was bunking the class.

1 Answer

+1 vote
by (737k points)
selected by
Best answer
Correct choice is (a) x=5, y=3

The best I can explain: All adjacency matrices are square matrices.

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.